<!-- HTML header for doxygen 1.8.10-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>NATS C Client with Streaming support: nats.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="customdoxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;" >
   <div id="projectname">NATS C Client with Streaming support
   &#160;<span id="projectnumber">2.5.0</span>
   </div>
   <div id="projectbrief">The nats.io C Client, Supported by Synadia Communications Inc.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('nats_8h_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">nats.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="nats_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">// Copyright 2015-2021 The NATS Authors</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">// Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">// you may not use this file except in compliance with the License.</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">// You may obtain a copy of the License at</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">// http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">// Unless required by applicable law or agreed to in writing, software</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">// distributed under the License is distributed on an &quot;AS IS&quot; BASIS,</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">// See the License for the specific language governing permissions and</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">// limitations under the License.</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#ifndef NATS_H_</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#define NATS_H_</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;</div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#include &lt;stdlib.h&gt;</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#include &lt;stdint.h&gt;</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#include &lt;stdbool.h&gt;</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#include &lt;inttypes.h&gt;</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor">#include &lt;stdio.h&gt;</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;</div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="status_8h.html">status.h</a>&quot;</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor">#include &quot;version.h&quot;</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#if defined(_WIN32)</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">  #include &lt;winsock2.h&gt;</span></div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor">  #if defined(nats_EXPORTS)</span></div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">    #define NATS_EXTERN __declspec(dllexport)</span></div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">  #elif defined(nats_IMPORTS)</span></div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="preprocessor">    #define NATS_EXTERN __declspec(dllimport)</span></div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="preprocessor">  #else</span></div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor">    #define NATS_EXTERN</span></div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="preprocessor">  #endif</span></div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;  <span class="keyword">typedef</span> SOCKET      <a class="code" href="nats_8h.html#af798865ac824e5959987de0fe8d07383">natsSock</a>;</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">   49</a></span>&#160;<span class="preprocessor">  #define NATS_EXTERN</span></div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="nats_8h.html#af798865ac824e5959987de0fe8d07383">   50</a></span>&#160;  <span class="keyword">typedef</span> <span class="keywordtype">int</span>         <a class="code" href="nats_8h.html#af798865ac824e5959987de0fe8d07383">natsSock</a>;</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;</div><div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="nats_8h.html#a911c54900b46b968205871cd9f68d36c">   86</a></span>&#160;<span class="preprocessor">#define NATS_DEFAULT_URL &quot;nats://localhost:4222&quot;</span></div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;<span class="comment">// Types.</span></div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">  102</a></span>&#160;<span class="comment"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>__natsConnection     <a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a>;</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;</div><div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="group__types_group.html#ga57a4b8c7109e2773878655722ce028aa">  109</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>__natsStatistics     <a class="code" href="group__types_group.html#ga57a4b8c7109e2773878655722ce028aa">natsStatistics</a>;</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;</div><div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">  115</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>__natsSubscription   <a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a>;</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;</div><div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="group__types_group.html#gadcab54026c4ed78f344ce03ce31bb61a">  122</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>__natsMsg            <a class="code" href="group__types_group.html#gadcab54026c4ed78f344ce03ce31bb61a">natsMsg</a>;</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;</div><div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">  128</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>__natsOptions        <a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a>;</div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;</div><div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="group__types_group.html#ga206c3d4d6f4f6f96fd2cae53a3df31c1">  137</a></span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">char</span>                        <a class="code" href="group__types_group.html#ga206c3d4d6f4f6f96fd2cae53a3df31c1">natsInbox</a>;</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;<span class="preprocessor">#if defined(NATS_HAS_STREAMING)</span></div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;</div><div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="group__types_group.html#ga9e826493769d23086cfccefe95cdf64c">  144</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>__stanConnection     <a class="code" href="group__types_group.html#ga9e826493769d23086cfccefe95cdf64c">stanConnection</a>;</div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;</div><div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="group__types_group.html#gae4dae869fb614536f0f027c2e2660cc5">  150</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>__stanSubscription   <a class="code" href="group__types_group.html#gae4dae869fb614536f0f027c2e2660cc5">stanSubscription</a>;</div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;</div><div class="line"><a name="l00156"></a><span class="lineno"><a class="line" href="group__types_group.html#ga2cf5db7703b42d97abe56a3e83b2a87d">  156</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>__stanMsg            <a class="code" href="group__types_group.html#ga2cf5db7703b42d97abe56a3e83b2a87d">stanMsg</a>;</div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;</div><div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="group__types_group.html#ga13d64411878ba13a6ca39c915f2447c1">  162</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>__stanConnOptions    <a class="code" href="group__types_group.html#ga13d64411878ba13a6ca39c915f2447c1">stanConnOptions</a>;</div><div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;</div><div class="line"><a name="l00168"></a><span class="lineno"><a class="line" href="group__types_group.html#ga023712711f5c289663fc2223e83686d3">  168</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>__stanSubOptions     <a class="code" href="group__types_group.html#ga023712711f5c289663fc2223e83686d3">stanSubOptions</a>;</div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160; <span class="comment">// end of typesGroup</span></div><div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;</div><div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;<span class="comment">// Callbacks.</span></div><div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;</div><div class="line"><a name="l00199"></a><span class="lineno"><a class="line" href="group__callbacks_group.html#gad1a5ac566893e13dc8c81ac0e9c87afe">  199</a></span>&#160;<span class="keyword">typedef</span> void (*<a class="code" href="group__callbacks_group.html#gad1a5ac566893e13dc8c81ac0e9c87afe">natsMsgHandler</a>)(</div><div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;        <a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc, <a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> *sub, <a class="code" href="group__types_group.html#gadcab54026c4ed78f344ce03ce31bb61a">natsMsg</a> *msg, <span class="keywordtype">void</span> *closure);</div><div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;</div><div class="line"><a name="l00215"></a><span class="lineno"><a class="line" href="group__callbacks_group.html#gacdef6aff3e47953f19e35857ab8e274c">  215</a></span>&#160;<span class="keyword">typedef</span> void (*<a class="code" href="group__callbacks_group.html#gacdef6aff3e47953f19e35857ab8e274c">natsConnectionHandler</a>)(</div><div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;        <a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a>  *nc, <span class="keywordtype">void</span> *closure);</div><div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;</div><div class="line"><a name="l00224"></a><span class="lineno"><a class="line" href="group__callbacks_group.html#ga9e511dffa471dfb971b7dd2b12329626">  224</a></span>&#160;<span class="keyword">typedef</span> void (*<a class="code" href="group__callbacks_group.html#ga9e511dffa471dfb971b7dd2b12329626">natsErrHandler</a>)(</div><div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;        <a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc, <a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> *subscription, <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a> err,</div><div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;        <span class="keywordtype">void</span> *closure);</div><div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;</div><div class="line"><a name="l00241"></a><span class="lineno"><a class="line" href="group__callbacks_group.html#ga245eab0a01a485e40fba267f84ec037f">  241</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a> (*<a class="code" href="group__callbacks_group.html#ga245eab0a01a485e40fba267f84ec037f">natsEvLoop_Attach</a>)(</div><div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;        <span class="keywordtype">void</span>            **userData,</div><div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;        <span class="keywordtype">void</span>            *loop,</div><div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;        <a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a>  *nc,</div><div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;        natsSock        socket);</div><div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;</div><div class="line"><a name="l00256"></a><span class="lineno"><a class="line" href="group__callbacks_group.html#gaea4c125ecfb43eaf43da20e8444c2aaa">  256</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a> (*<a class="code" href="group__callbacks_group.html#gaea4c125ecfb43eaf43da20e8444c2aaa">natsEvLoop_ReadAddRemove</a>)(</div><div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;        <span class="keywordtype">void</span>            *userData,</div><div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;        <span class="keywordtype">bool</span>            add);</div><div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;</div><div class="line"><a name="l00269"></a><span class="lineno"><a class="line" href="group__callbacks_group.html#ga2bb5dd2d821ca5bbc0488f7e6aceed17">  269</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a> (*<a class="code" href="group__callbacks_group.html#ga2bb5dd2d821ca5bbc0488f7e6aceed17">natsEvLoop_WriteAddRemove</a>)(</div><div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;        <span class="keywordtype">void</span>            *userData,</div><div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;        <span class="keywordtype">bool</span>            add);</div><div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;</div><div class="line"><a name="l00280"></a><span class="lineno"><a class="line" href="group__callbacks_group.html#gab63dee7f7012ba11ae20b76dbc36f2d0">  280</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a> (*<a class="code" href="group__callbacks_group.html#gab63dee7f7012ba11ae20b76dbc36f2d0">natsEvLoop_Detach</a>)(</div><div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;        <span class="keywordtype">void</span>            *userData);</div><div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;</div><div class="line"><a name="l00304"></a><span class="lineno"><a class="line" href="group__callbacks_group.html#ga258b30458134be90f17315c037f34b7b">  304</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a> (*<a class="code" href="group__callbacks_group.html#ga258b30458134be90f17315c037f34b7b">natsUserJWTHandler</a>)(</div><div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;        <span class="keywordtype">char</span>            **userJWT,</div><div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;        <span class="keywordtype">char</span>            **customErrTxt,</div><div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;        <span class="keywordtype">void</span>            *closure);</div><div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;</div><div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;</div><div class="line"><a name="l00335"></a><span class="lineno"><a class="line" href="group__callbacks_group.html#gab786ffd670c86de0563559351305080b">  335</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a> (*<a class="code" href="group__callbacks_group.html#gab786ffd670c86de0563559351305080b">natsSignatureHandler</a>)(</div><div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160;        <span class="keywordtype">char</span>            **customErrTxt,</div><div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>   **signature,</div><div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;        <span class="keywordtype">int</span>             *signatureLength,</div><div class="line"><a name="l00339"></a><span class="lineno">  339</span>&#160;        <span class="keyword">const</span> <span class="keywordtype">char</span>      *nonce,</div><div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;        <span class="keywordtype">void</span>            *closure);</div><div class="line"><a name="l00341"></a><span class="lineno">  341</span>&#160;</div><div class="line"><a name="l00350"></a><span class="lineno"><a class="line" href="group__callbacks_group.html#ga7d93a74068ac6e5f4406d70b7c1f0094">  350</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* (*natsTokenHandler)(<span class="keywordtype">void</span> *closure);</div><div class="line"><a name="l00351"></a><span class="lineno">  351</span>&#160;</div><div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160;</div><div class="line"><a name="l00360"></a><span class="lineno"><a class="line" href="group__callbacks_group.html#ga245131e64f1d0dff7edc8ed874a07e9a">  360</a></span>&#160;<span class="keyword">typedef</span> void (*<a class="code" href="group__callbacks_group.html#ga245131e64f1d0dff7edc8ed874a07e9a">natsOnCompleteCB</a>)(<span class="keywordtype">void</span> *closure);</div><div class="line"><a name="l00361"></a><span class="lineno">  361</span>&#160;</div><div class="line"><a name="l00382"></a><span class="lineno"><a class="line" href="group__callbacks_group.html#ga3353d4b92851c52121f65aaf0684cba4">  382</a></span>&#160;<span class="keyword">typedef</span> int64_t (*<a class="code" href="group__callbacks_group.html#ga3353d4b92851c52121f65aaf0684cba4">natsCustomReconnectDelayHandler</a>)(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc, <span class="keywordtype">int</span> attempts, <span class="keywordtype">void</span> *closure);</div><div class="line"><a name="l00383"></a><span class="lineno">  383</span>&#160;</div><div class="line"><a name="l00384"></a><span class="lineno">  384</span>&#160;<span class="preprocessor">#if defined(NATS_HAS_STREAMING)</span></div><div class="line"><a name="l00385"></a><span class="lineno">  385</span>&#160;</div><div class="line"><a name="l00393"></a><span class="lineno"><a class="line" href="group__callbacks_group.html#gad5d6a685731b3bf635995b7375af4d18">  393</a></span>&#160;<span class="keyword">typedef</span> void (*<a class="code" href="group__callbacks_group.html#gad5d6a685731b3bf635995b7375af4d18">stanPubAckHandler</a>)(<span class="keyword">const</span> <span class="keywordtype">char</span> *guid, <span class="keyword">const</span> <span class="keywordtype">char</span> *error, <span class="keywordtype">void</span> *closure);</div><div class="line"><a name="l00394"></a><span class="lineno">  394</span>&#160;</div><div class="line"><a name="l00404"></a><span class="lineno"><a class="line" href="group__callbacks_group.html#gaf7456e37fa14f1834d9048d3789e9409">  404</a></span>&#160;<span class="keyword">typedef</span> void (*<a class="code" href="group__callbacks_group.html#gaf7456e37fa14f1834d9048d3789e9409">stanMsgHandler</a>)(</div><div class="line"><a name="l00405"></a><span class="lineno">  405</span>&#160;        <a class="code" href="group__types_group.html#ga9e826493769d23086cfccefe95cdf64c">stanConnection</a> *sc, <a class="code" href="group__types_group.html#gae4dae869fb614536f0f027c2e2660cc5">stanSubscription</a> *sub, <span class="keyword">const</span> <span class="keywordtype">char</span> *channel, <a class="code" href="group__types_group.html#ga2cf5db7703b42d97abe56a3e83b2a87d">stanMsg</a> *msg, <span class="keywordtype">void</span> *closure);</div><div class="line"><a name="l00406"></a><span class="lineno">  406</span>&#160;</div><div class="line"><a name="l00413"></a><span class="lineno"><a class="line" href="group__callbacks_group.html#gac34092f6c698374f86ad349302bdd55c">  413</a></span>&#160;<span class="keyword">typedef</span> void (*<a class="code" href="group__callbacks_group.html#gac34092f6c698374f86ad349302bdd55c">stanConnectionLostHandler</a>)(</div><div class="line"><a name="l00414"></a><span class="lineno">  414</span>&#160;        <a class="code" href="group__types_group.html#ga9e826493769d23086cfccefe95cdf64c">stanConnection</a> *sc, <span class="keyword">const</span> <span class="keywordtype">char</span>* errorTxt, <span class="keywordtype">void</span> *closure);</div><div class="line"><a name="l00415"></a><span class="lineno">  415</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00416"></a><span class="lineno">  416</span>&#160; <span class="comment">// end of callbacksGroup</span></div><div class="line"><a name="l00418"></a><span class="lineno">  418</span>&#160;</div><div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00420"></a><span class="lineno">  420</span>&#160;<span class="comment">// Functions.</span></div><div class="line"><a name="l00421"></a><span class="lineno">  421</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00447"></a><span class="lineno">  447</span>&#160;<span class="comment"></span><a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l00448"></a><span class="lineno">  448</span>&#160;<a class="code" href="group__library_group.html#ga4a26d4caecb23348f6eee862c95fee7d">nats_Open</a>(int64_t lockSpinCount);</div><div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160;</div><div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160;</div><div class="line"><a name="l00455"></a><span class="lineno">  455</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keyword">const</span> <span class="keywordtype">char</span>*</div><div class="line"><a name="l00456"></a><span class="lineno">  456</span>&#160;<a class="code" href="group__library_group.html#gafc09930d38dcf3dcee144e8d3ffc225d">nats_GetVersion</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00457"></a><span class="lineno">  457</span>&#160;</div><div class="line"><a name="l00465"></a><span class="lineno">  465</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> uint32_t</div><div class="line"><a name="l00466"></a><span class="lineno">  466</span>&#160;<a class="code" href="group__library_group.html#ga5fbbaa19b0290b654d2669a05bd512e8">nats_GetVersionNumber</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00467"></a><span class="lineno">  467</span>&#160;</div><div class="line"><a name="l00468"></a><span class="lineno">  468</span>&#160;<span class="preprocessor">#ifdef BUILD_IN_DOXYGEN</span></div><div class="line"><a name="l00469"></a><span class="lineno">  469</span>&#160;</div><div class="line"><a name="l00483"></a><span class="lineno">  483</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">bool</span> <a class="code" href="group__library_group.html#ga8c2ad4df801bd9d11564587ed3a7081e">nats_CheckCompatibility</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00484"></a><span class="lineno">  484</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00485"></a><span class="lineno">  485</span>&#160;</div><div class="line"><a name="l00486"></a><span class="lineno">  486</span>&#160;<span class="preprocessor">#define nats_CheckCompatibility() nats_CheckCompatibilityImpl(NATS_VERSION_REQUIRED_NUMBER, \</span></div><div class="line"><a name="l00487"></a><span class="lineno">  487</span>&#160;<span class="preprocessor">                                                              NATS_VERSION_NUMBER, \</span></div><div class="line"><a name="l00488"></a><span class="lineno">  488</span>&#160;<span class="preprocessor">                                                              NATS_VERSION_STRING)</span></div><div class="line"><a name="l00489"></a><span class="lineno">  489</span>&#160;</div><div class="line"><a name="l00490"></a><span class="lineno">  490</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">bool</span></div><div class="line"><a name="l00491"></a><span class="lineno">  491</span>&#160;nats_CheckCompatibilityImpl(uint32_t reqVerNumber, uint32_t verNumber, <span class="keyword">const</span> <span class="keywordtype">char</span> *verString);</div><div class="line"><a name="l00492"></a><span class="lineno">  492</span>&#160;</div><div class="line"><a name="l00493"></a><span class="lineno">  493</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00494"></a><span class="lineno">  494</span>&#160;</div><div class="line"><a name="l00499"></a><span class="lineno">  499</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> int64_t</div><div class="line"><a name="l00500"></a><span class="lineno">  500</span>&#160;<a class="code" href="group__library_group.html#gaa3c10ba3ae001595007ad0dc5dccc15e">nats_Now</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00501"></a><span class="lineno">  501</span>&#160;</div><div class="line"><a name="l00507"></a><span class="lineno">  507</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> int64_t</div><div class="line"><a name="l00508"></a><span class="lineno">  508</span>&#160;<a class="code" href="group__library_group.html#gacf5e423920d6a647df3bbf7de39d5223">nats_NowInNanoSeconds</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00509"></a><span class="lineno">  509</span>&#160;</div><div class="line"><a name="l00517"></a><span class="lineno">  517</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">void</span></div><div class="line"><a name="l00518"></a><span class="lineno">  518</span>&#160;<a class="code" href="group__library_group.html#gad5040264cd4b1404956babf3c03a4f09">nats_Sleep</a>(int64_t sleepTime);</div><div class="line"><a name="l00519"></a><span class="lineno">  519</span>&#160;</div><div class="line"><a name="l00532"></a><span class="lineno">  532</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keyword">const</span> <span class="keywordtype">char</span>*</div><div class="line"><a name="l00533"></a><span class="lineno">  533</span>&#160;<a class="code" href="group__library_group.html#ga2610d5691a89a0f2526989083bee0fd3">nats_GetLastError</a>(<a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a> *status);</div><div class="line"><a name="l00534"></a><span class="lineno">  534</span>&#160;</div><div class="line"><a name="l00543"></a><span class="lineno">  543</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l00544"></a><span class="lineno">  544</span>&#160;<a class="code" href="group__library_group.html#gaca24172e1b97ca01cee29ca437f5702e">nats_GetLastErrorStack</a>(<span class="keywordtype">char</span> *buffer, <span class="keywordtype">size_t</span> bufLen);</div><div class="line"><a name="l00545"></a><span class="lineno">  545</span>&#160;</div><div class="line"><a name="l00566"></a><span class="lineno">  566</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">void</span></div><div class="line"><a name="l00567"></a><span class="lineno">  567</span>&#160;<a class="code" href="group__library_group.html#ga5fab3b18c4fe3630254483575f6066f4">nats_PrintLastErrorStack</a>(FILE *file);</div><div class="line"><a name="l00568"></a><span class="lineno">  568</span>&#160;</div><div class="line"><a name="l00598"></a><span class="lineno">  598</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l00599"></a><span class="lineno">  599</span>&#160;<a class="code" href="group__library_group.html#gab21e94ce7a7d226611ea2c05914cf19d">nats_SetMessageDeliveryPoolSize</a>(<span class="keywordtype">int</span> max);</div><div class="line"><a name="l00600"></a><span class="lineno">  600</span>&#160;</div><div class="line"><a name="l00611"></a><span class="lineno">  611</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">void</span></div><div class="line"><a name="l00612"></a><span class="lineno">  612</span>&#160;<a class="code" href="group__library_group.html#gafe171baefa00a85b77205116e9f3e48a">nats_ReleaseThreadMemory</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00613"></a><span class="lineno">  613</span>&#160;</div><div class="line"><a name="l00638"></a><span class="lineno">  638</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l00639"></a><span class="lineno">  639</span>&#160;<a class="code" href="group__library_group.html#gaf781f246e2e0ab24623ca667c48dc3ba">nats_Sign</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>    *encodedSeed,</div><div class="line"><a name="l00640"></a><span class="lineno">  640</span>&#160;          <span class="keyword">const</span> <span class="keywordtype">char</span>    *input,</div><div class="line"><a name="l00641"></a><span class="lineno">  641</span>&#160;          <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> **signature,</div><div class="line"><a name="l00642"></a><span class="lineno">  642</span>&#160;          <span class="keywordtype">int</span>           *signatureLength);</div><div class="line"><a name="l00643"></a><span class="lineno">  643</span>&#160;</div><div class="line"><a name="l00664"></a><span class="lineno">  664</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">void</span></div><div class="line"><a name="l00665"></a><span class="lineno">  665</span>&#160;<a class="code" href="group__library_group.html#gae75131e0ce4e5b89d0f82ea7892f112e">nats_Close</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00666"></a><span class="lineno">  666</span>&#160;</div><div class="line"><a name="l00712"></a><span class="lineno">  712</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l00713"></a><span class="lineno">  713</span>&#160;<a class="code" href="group__library_group.html#gaf75bb5b38bf32e6a8f43e54068625903">nats_CloseAndWait</a>(int64_t timeout);</div><div class="line"><a name="l00714"></a><span class="lineno">  714</span>&#160; <span class="comment">// end of libraryGroup</span></div><div class="line"><a name="l00716"></a><span class="lineno">  716</span>&#160;</div><div class="line"><a name="l00732"></a><span class="lineno">  732</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keyword">const</span> <span class="keywordtype">char</span>*</div><div class="line"><a name="l00733"></a><span class="lineno">  733</span>&#160;<a class="code" href="group__status_group.html#ga0f7a5e105311800d957ae7b28d1ab752">natsStatus_GetText</a>(<a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a> s);</div><div class="line"><a name="l00734"></a><span class="lineno">  734</span>&#160; <span class="comment">// end of statusGroup</span></div><div class="line"><a name="l00736"></a><span class="lineno">  736</span>&#160;</div><div class="line"><a name="l00754"></a><span class="lineno">  754</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l00755"></a><span class="lineno">  755</span>&#160;<a class="code" href="group__stats_group.html#gafa923df029168f4991b77ffdd9e24877">natsStatistics_Create</a>(<a class="code" href="group__types_group.html#ga57a4b8c7109e2773878655722ce028aa">natsStatistics</a> **newStats);</div><div class="line"><a name="l00756"></a><span class="lineno">  756</span>&#160;</div><div class="line"><a name="l00773"></a><span class="lineno">  773</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l00774"></a><span class="lineno">  774</span>&#160;<a class="code" href="group__stats_group.html#gad85f5ffb4272713f6cc6d988e6d4e75f">natsStatistics_GetCounts</a>(<span class="keyword">const</span> <a class="code" href="group__types_group.html#ga57a4b8c7109e2773878655722ce028aa">natsStatistics</a> *stats,</div><div class="line"><a name="l00775"></a><span class="lineno">  775</span>&#160;                         uint64_t *inMsgs, uint64_t *inBytes,</div><div class="line"><a name="l00776"></a><span class="lineno">  776</span>&#160;                         uint64_t *outMsgs, uint64_t *outBytes,</div><div class="line"><a name="l00777"></a><span class="lineno">  777</span>&#160;                         uint64_t *reconnects);</div><div class="line"><a name="l00778"></a><span class="lineno">  778</span>&#160;</div><div class="line"><a name="l00785"></a><span class="lineno">  785</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">void</span></div><div class="line"><a name="l00786"></a><span class="lineno">  786</span>&#160;<a class="code" href="group__stats_group.html#ga26a04e77af8fc160adf7c33088dcf59c">natsStatistics_Destroy</a>(<a class="code" href="group__types_group.html#ga57a4b8c7109e2773878655722ce028aa">natsStatistics</a> *stats);</div><div class="line"><a name="l00787"></a><span class="lineno">  787</span>&#160; <span class="comment">// end of statsGroup</span></div><div class="line"><a name="l00789"></a><span class="lineno">  789</span>&#160;</div><div class="line"><a name="l00814"></a><span class="lineno">  814</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l00815"></a><span class="lineno">  815</span>&#160;<a class="code" href="group__opts_group.html#ga61d4a0cf2fbf7d13cc910e5a00c575be">natsOptions_Create</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> **newOpts);</div><div class="line"><a name="l00816"></a><span class="lineno">  816</span>&#160;</div><div class="line"><a name="l00837"></a><span class="lineno">  837</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00838"></a><span class="lineno">  838</span>&#160;<span class="comment"> * The above is for doxygen. The proper syntax for username/password</span></div><div class="line"><a name="l00839"></a><span class="lineno">  839</span>&#160;<span class="comment"> * is without the &#39;\&#39; character:</span></div><div class="line"><a name="l00840"></a><span class="lineno">  840</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00841"></a><span class="lineno">  841</span>&#160;<span class="comment"> * nats://localhost:4222</span></div><div class="line"><a name="l00842"></a><span class="lineno">  842</span>&#160;<span class="comment"> * nats://user@localhost:4222</span></div><div class="line"><a name="l00843"></a><span class="lineno">  843</span>&#160;<span class="comment"> * nats://user:password@localhost:4222</span></div><div class="line"><a name="l00844"></a><span class="lineno">  844</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00845"></a><span class="lineno">  845</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l00846"></a><span class="lineno">  846</span>&#160;<a class="code" href="group__opts_group.html#ga3f7e760214417c7d87541ecb9ab5bea5">natsOptions_SetURL</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keyword">const</span> <span class="keywordtype">char</span> *url);</div><div class="line"><a name="l00847"></a><span class="lineno">  847</span>&#160;</div><div class="line"><a name="l00862"></a><span class="lineno">  862</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l00863"></a><span class="lineno">  863</span>&#160;<a class="code" href="group__opts_group.html#gacb7e964ae54b74d972d72e118b7b8bdf">natsOptions_SetServers</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keyword">const</span> <span class="keywordtype">char</span>** servers, <span class="keywordtype">int</span> serversCount);</div><div class="line"><a name="l00864"></a><span class="lineno">  864</span>&#160;</div><div class="line"><a name="l00890"></a><span class="lineno">  890</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l00891"></a><span class="lineno">  891</span>&#160;<a class="code" href="group__opts_group.html#ga5b99da7dd74aac3be962f323c3863d9e">natsOptions_SetUserInfo</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keyword">const</span> <span class="keywordtype">char</span> *user, <span class="keyword">const</span> <span class="keywordtype">char</span> *password);</div><div class="line"><a name="l00892"></a><span class="lineno">  892</span>&#160;</div><div class="line"><a name="l00917"></a><span class="lineno">  917</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l00918"></a><span class="lineno">  918</span>&#160;<a class="code" href="group__opts_group.html#gad58a5b9dabadeebda30e952ff7b39193">natsOptions_SetToken</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keyword">const</span> <span class="keywordtype">char</span> *token);</div><div class="line"><a name="l00919"></a><span class="lineno">  919</span>&#160;</div><div class="line"><a name="l00935"></a><span class="lineno">  935</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l00936"></a><span class="lineno">  936</span>&#160;<a class="code" href="group__opts_group.html#ga23a3b1f022112e98ddccb18b247b4426">natsOptions_SetTokenHandler</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <a class="code" href="group__callbacks_group.html#ga7d93a74068ac6e5f4406d70b7c1f0094">natsTokenHandler</a> tokenCb,</div><div class="line"><a name="l00937"></a><span class="lineno">  937</span>&#160;                            <span class="keywordtype">void</span> *closure);</div><div class="line"><a name="l00938"></a><span class="lineno">  938</span>&#160;</div><div class="line"><a name="l00948"></a><span class="lineno">  948</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l00949"></a><span class="lineno">  949</span>&#160;<a class="code" href="group__opts_group.html#gaabf8763b931dcf389c83fd95d760a413">natsOptions_SetNoRandomize</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keywordtype">bool</span> noRandomize);</div><div class="line"><a name="l00950"></a><span class="lineno">  950</span>&#160;</div><div class="line"><a name="l00963"></a><span class="lineno">  963</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l00964"></a><span class="lineno">  964</span>&#160;<a class="code" href="group__opts_group.html#ga17cd7fe41176cd98aca1184fa9352ad9">natsOptions_SetTimeout</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, int64_t timeout);</div><div class="line"><a name="l00965"></a><span class="lineno">  965</span>&#160;</div><div class="line"><a name="l00973"></a><span class="lineno">  973</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l00974"></a><span class="lineno">  974</span>&#160;<a class="code" href="group__opts_group.html#ga1c529d347be0fe2eec17c7f4698e283e">natsOptions_SetName</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keyword">const</span> <span class="keywordtype">char</span> *name);</div><div class="line"><a name="l00975"></a><span class="lineno">  975</span>&#160;</div><div class="line"><a name="l00985"></a><span class="lineno">  985</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l00986"></a><span class="lineno">  986</span>&#160;<a class="code" href="group__opts_group.html#gaa1f09416d443fa7a6af6b695da563eba">natsOptions_SetSecure</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keywordtype">bool</span> secure);</div><div class="line"><a name="l00987"></a><span class="lineno">  987</span>&#160;</div><div class="line"><a name="l01001"></a><span class="lineno"> 1001</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01002"></a><span class="lineno"> 1002</span>&#160;<a class="code" href="group__opts_group.html#ga2cd6563694a439b3949a31fd81103099">natsOptions_LoadCATrustedCertificates</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keyword">const</span> <span class="keywordtype">char</span> *fileName);</div><div class="line"><a name="l01003"></a><span class="lineno"> 1003</span>&#160;</div><div class="line"><a name="l01029"></a><span class="lineno"> 1029</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01030"></a><span class="lineno"> 1030</span>&#160;<a class="code" href="group__opts_group.html#gafb30794fc2ae74b9e0bd8fb609b901c8">natsOptions_SetCATrustedCertificates</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keyword">const</span> <span class="keywordtype">char</span> *certificates);</div><div class="line"><a name="l01031"></a><span class="lineno"> 1031</span>&#160;</div><div class="line"><a name="l01046"></a><span class="lineno"> 1046</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01047"></a><span class="lineno"> 1047</span>&#160;<a class="code" href="group__opts_group.html#ga36943e2ba53d05407cdabc4e7e96484b">natsOptions_LoadCertificatesChain</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts,</div><div class="line"><a name="l01048"></a><span class="lineno"> 1048</span>&#160;                                  <span class="keyword">const</span> <span class="keywordtype">char</span> *certsFileName,</div><div class="line"><a name="l01049"></a><span class="lineno"> 1049</span>&#160;                                  <span class="keyword">const</span> <span class="keywordtype">char</span> *keyFileName);</div><div class="line"><a name="l01050"></a><span class="lineno"> 1050</span>&#160;</div><div class="line"><a name="l01062"></a><span class="lineno"> 1062</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01063"></a><span class="lineno"> 1063</span>&#160;<a class="code" href="group__opts_group.html#gae98f0f9034e93941767ab1ae6eec2c0c">natsOptions_SetCertificatesChain</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts,</div><div class="line"><a name="l01064"></a><span class="lineno"> 1064</span>&#160;                                 <span class="keyword">const</span> <span class="keywordtype">char</span> *cert,</div><div class="line"><a name="l01065"></a><span class="lineno"> 1065</span>&#160;                                 <span class="keyword">const</span> <span class="keywordtype">char</span> *key);</div><div class="line"><a name="l01066"></a><span class="lineno"> 1066</span>&#160;</div><div class="line"><a name="l01082"></a><span class="lineno"> 1082</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01083"></a><span class="lineno"> 1083</span>&#160;<a class="code" href="group__opts_group.html#ga5698f020e8eb3e7440eb073fe08ef62c">natsOptions_SetCiphers</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keyword">const</span> <span class="keywordtype">char</span> *ciphers);</div><div class="line"><a name="l01084"></a><span class="lineno"> 1084</span>&#160;</div><div class="line"><a name="l01098"></a><span class="lineno"> 1098</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01099"></a><span class="lineno"> 1099</span>&#160;<a class="code" href="group__opts_group.html#ga2b7f144b011d8ce62941b608a8f324f0">natsOptions_SetCipherSuites</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keyword">const</span> <span class="keywordtype">char</span> *ciphers);</div><div class="line"><a name="l01100"></a><span class="lineno"> 1100</span>&#160;</div><div class="line"><a name="l01110"></a><span class="lineno"> 1110</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01111"></a><span class="lineno"> 1111</span>&#160;<a class="code" href="group__opts_group.html#ga0ba43ba9930df385e4781b12be9f2851">natsOptions_SetExpectedHostname</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keyword">const</span> <span class="keywordtype">char</span> *hostname);</div><div class="line"><a name="l01112"></a><span class="lineno"> 1112</span>&#160;</div><div class="line"><a name="l01123"></a><span class="lineno"> 1123</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01124"></a><span class="lineno"> 1124</span>&#160;<a class="code" href="group__opts_group.html#ga6f804ec44adc299989fe623570679da3">natsOptions_SkipServerVerification</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keywordtype">bool</span> skip);</div><div class="line"><a name="l01125"></a><span class="lineno"> 1125</span>&#160;</div><div class="line"><a name="l01136"></a><span class="lineno"> 1136</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01137"></a><span class="lineno"> 1137</span>&#160;<a class="code" href="group__opts_group.html#gaa16bfd09ef318af18c27a0e199681b69">natsOptions_SetVerbose</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keywordtype">bool</span> verbose);</div><div class="line"><a name="l01138"></a><span class="lineno"> 1138</span>&#160;</div><div class="line"><a name="l01149"></a><span class="lineno"> 1149</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01150"></a><span class="lineno"> 1150</span>&#160;<a class="code" href="group__opts_group.html#ga26f166af20de98bec67bc6cc916f769e">natsOptions_SetPedantic</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keywordtype">bool</span> pedantic);</div><div class="line"><a name="l01151"></a><span class="lineno"> 1151</span>&#160;</div><div class="line"><a name="l01161"></a><span class="lineno"> 1161</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01162"></a><span class="lineno"> 1162</span>&#160;<a class="code" href="group__opts_group.html#gae68fb615835364c0809555e8dc93f57e">natsOptions_SetPingInterval</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, int64_t interval);</div><div class="line"><a name="l01163"></a><span class="lineno"> 1163</span>&#160;</div><div class="line"><a name="l01175"></a><span class="lineno"> 1175</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01176"></a><span class="lineno"> 1176</span>&#160;<a class="code" href="group__opts_group.html#gaaff89c3f41627f4b2929dbc9b82d265b">natsOptions_SetMaxPingsOut</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keywordtype">int</span> maxPingsOut);</div><div class="line"><a name="l01177"></a><span class="lineno"> 1177</span>&#160;</div><div class="line"><a name="l01189"></a><span class="lineno"> 1189</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01190"></a><span class="lineno"> 1190</span>&#160;<a class="code" href="group__opts_group.html#ga1a3e3abfd7ddd8aff247df8f332bbda3">natsOptions_SetIOBufSize</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keywordtype">int</span> ioBufSize);</div><div class="line"><a name="l01191"></a><span class="lineno"> 1191</span>&#160;</div><div class="line"><a name="l01203"></a><span class="lineno"> 1203</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01204"></a><span class="lineno"> 1204</span>&#160;<a class="code" href="group__opts_group.html#ga3d1d3cb2f2a0e23d27dd60e96d1cc91b">natsOptions_SetAllowReconnect</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keywordtype">bool</span> allow);</div><div class="line"><a name="l01205"></a><span class="lineno"> 1205</span>&#160;</div><div class="line"><a name="l01213"></a><span class="lineno"> 1213</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01214"></a><span class="lineno"> 1214</span>&#160;<a class="code" href="group__opts_group.html#gab54cd2719c0b64eebd6c7b83dd2908a0">natsOptions_SetMaxReconnect</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keywordtype">int</span> maxReconnect);</div><div class="line"><a name="l01215"></a><span class="lineno"> 1215</span>&#160;</div><div class="line"><a name="l01229"></a><span class="lineno"> 1229</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01230"></a><span class="lineno"> 1230</span>&#160;<a class="code" href="group__opts_group.html#ga2730f4e16e318a2ef8de98dbf6ede807">natsOptions_SetReconnectWait</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, int64_t reconnectWait);</div><div class="line"><a name="l01231"></a><span class="lineno"> 1231</span>&#160;</div><div class="line"><a name="l01255"></a><span class="lineno"> 1255</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01256"></a><span class="lineno"> 1256</span>&#160;<a class="code" href="group__opts_group.html#ga8f3df57ed8ae418d3ae6678ae5e2a5d2">natsOptions_SetReconnectJitter</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, int64_t jitter, int64_t jitterTLS);</div><div class="line"><a name="l01257"></a><span class="lineno"> 1257</span>&#160;</div><div class="line"><a name="l01276"></a><span class="lineno"> 1276</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01277"></a><span class="lineno"> 1277</span>&#160;<a class="code" href="group__opts_group.html#ga3593165aa113d6736e0226ddc56b3e9d">natsOptions_SetCustomReconnectDelay</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts,</div><div class="line"><a name="l01278"></a><span class="lineno"> 1278</span>&#160;                                    <a class="code" href="group__callbacks_group.html#ga3353d4b92851c52121f65aaf0684cba4">natsCustomReconnectDelayHandler</a> cb,</div><div class="line"><a name="l01279"></a><span class="lineno"> 1279</span>&#160;                                    <span class="keywordtype">void</span> *closure);</div><div class="line"><a name="l01280"></a><span class="lineno"> 1280</span>&#160;</div><div class="line"><a name="l01293"></a><span class="lineno"> 1293</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01294"></a><span class="lineno"> 1294</span>&#160;<a class="code" href="group__opts_group.html#gaa0d4b7ece8477cb9879f0dafff3456a5">natsOptions_SetReconnectBufSize</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keywordtype">int</span> reconnectBufSize);</div><div class="line"><a name="l01295"></a><span class="lineno"> 1295</span>&#160;</div><div class="line"><a name="l01309"></a><span class="lineno"> 1309</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01310"></a><span class="lineno"> 1310</span>&#160;<a class="code" href="group__opts_group.html#ga95510436eee06f9992ded96a44795c40">natsOptions_SetMaxPendingMsgs</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keywordtype">int</span> maxPending);</div><div class="line"><a name="l01311"></a><span class="lineno"> 1311</span>&#160;</div><div class="line"><a name="l01326"></a><span class="lineno"> 1326</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01327"></a><span class="lineno"> 1327</span>&#160;<a class="code" href="group__opts_group.html#ga127ec7a8196b453947a7fa9a64096cbd">natsOptions_SetErrorHandler</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <a class="code" href="group__callbacks_group.html#ga9e511dffa471dfb971b7dd2b12329626">natsErrHandler</a> errHandler,</div><div class="line"><a name="l01328"></a><span class="lineno"> 1328</span>&#160;                            <span class="keywordtype">void</span> *closure);</div><div class="line"><a name="l01329"></a><span class="lineno"> 1329</span>&#160;</div><div class="line"><a name="l01342"></a><span class="lineno"> 1342</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01343"></a><span class="lineno"> 1343</span>&#160;<a class="code" href="group__opts_group.html#ga44410242e73134e5bb51ef27904a9253">natsOptions_SetClosedCB</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <a class="code" href="group__callbacks_group.html#gacdef6aff3e47953f19e35857ab8e274c">natsConnectionHandler</a> closedCb,</div><div class="line"><a name="l01344"></a><span class="lineno"> 1344</span>&#160;                        <span class="keywordtype">void</span> *closure);</div><div class="line"><a name="l01345"></a><span class="lineno"> 1345</span>&#160;</div><div class="line"><a name="l01362"></a><span class="lineno"> 1362</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01363"></a><span class="lineno"> 1363</span>&#160;<a class="code" href="group__opts_group.html#gadc8dc0cedd91bda71d544f3dedc4a039">natsOptions_SetDisconnectedCB</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts,</div><div class="line"><a name="l01364"></a><span class="lineno"> 1364</span>&#160;                              <a class="code" href="group__callbacks_group.html#gacdef6aff3e47953f19e35857ab8e274c">natsConnectionHandler</a> disconnectedCb,</div><div class="line"><a name="l01365"></a><span class="lineno"> 1365</span>&#160;                              <span class="keywordtype">void</span> *closure);</div><div class="line"><a name="l01366"></a><span class="lineno"> 1366</span>&#160;</div><div class="line"><a name="l01382"></a><span class="lineno"> 1382</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01383"></a><span class="lineno"> 1383</span>&#160;<a class="code" href="group__opts_group.html#ga26a48c8529fffa5f5d1a61c030979980">natsOptions_SetReconnectedCB</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts,</div><div class="line"><a name="l01384"></a><span class="lineno"> 1384</span>&#160;                             <a class="code" href="group__callbacks_group.html#gacdef6aff3e47953f19e35857ab8e274c">natsConnectionHandler</a> reconnectedCb,</div><div class="line"><a name="l01385"></a><span class="lineno"> 1385</span>&#160;                             <span class="keywordtype">void</span> *closure);</div><div class="line"><a name="l01386"></a><span class="lineno"> 1386</span>&#160;</div><div class="line"><a name="l01401"></a><span class="lineno"> 1401</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01402"></a><span class="lineno"> 1402</span>&#160;<a class="code" href="group__opts_group.html#gab5baab507c974402ab0d8c5e8227ee65">natsOptions_SetDiscoveredServersCB</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts,</div><div class="line"><a name="l01403"></a><span class="lineno"> 1403</span>&#160;                                   <a class="code" href="group__callbacks_group.html#gacdef6aff3e47953f19e35857ab8e274c">natsConnectionHandler</a> discoveredServersCb,</div><div class="line"><a name="l01404"></a><span class="lineno"> 1404</span>&#160;                                   <span class="keywordtype">void</span> *closure);</div><div class="line"><a name="l01405"></a><span class="lineno"> 1405</span>&#160;</div><div class="line"><a name="l01422"></a><span class="lineno"> 1422</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01423"></a><span class="lineno"> 1423</span>&#160;<a class="code" href="group__opts_group.html#ga54dea2ffeb33779771652a7a14fc4adc">natsOptions_SetLameDuckModeCB</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts,</div><div class="line"><a name="l01424"></a><span class="lineno"> 1424</span>&#160;                              <a class="code" href="group__callbacks_group.html#gacdef6aff3e47953f19e35857ab8e274c">natsConnectionHandler</a> lameDuckCb,</div><div class="line"><a name="l01425"></a><span class="lineno"> 1425</span>&#160;                              <span class="keywordtype">void</span> *closure);</div><div class="line"><a name="l01426"></a><span class="lineno"> 1426</span>&#160;</div><div class="line"><a name="l01444"></a><span class="lineno"> 1444</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01445"></a><span class="lineno"> 1445</span>&#160;<a class="code" href="group__opts_group.html#gab09491bad908dedcb323c780280733ff">natsOptions_SetEventLoop</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts,</div><div class="line"><a name="l01446"></a><span class="lineno"> 1446</span>&#160;                         <span class="keywordtype">void</span> *loop,</div><div class="line"><a name="l01447"></a><span class="lineno"> 1447</span>&#160;                         <a class="code" href="group__callbacks_group.html#ga245eab0a01a485e40fba267f84ec037f">natsEvLoop_Attach</a>          attachCb,</div><div class="line"><a name="l01448"></a><span class="lineno"> 1448</span>&#160;                         <a class="code" href="group__callbacks_group.html#gaea4c125ecfb43eaf43da20e8444c2aaa">natsEvLoop_ReadAddRemove</a>   readCb,</div><div class="line"><a name="l01449"></a><span class="lineno"> 1449</span>&#160;                         <a class="code" href="group__callbacks_group.html#ga2bb5dd2d821ca5bbc0488f7e6aceed17">natsEvLoop_WriteAddRemove</a>  writeCb,</div><div class="line"><a name="l01450"></a><span class="lineno"> 1450</span>&#160;                         <a class="code" href="group__callbacks_group.html#gab63dee7f7012ba11ae20b76dbc36f2d0">natsEvLoop_Detach</a>          detachCb);</div><div class="line"><a name="l01451"></a><span class="lineno"> 1451</span>&#160;</div><div class="line"><a name="l01474"></a><span class="lineno"> 1474</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01475"></a><span class="lineno"> 1475</span>&#160;<a class="code" href="group__opts_group.html#gabf060c92648b50c069f0abe7cbb06f1c">natsOptions_UseGlobalMessageDelivery</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keywordtype">bool</span> global);</div><div class="line"><a name="l01476"></a><span class="lineno"> 1476</span>&#160;</div><div class="line"><a name="l01499"></a><span class="lineno"> 1499</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01500"></a><span class="lineno"> 1500</span>&#160;<a class="code" href="group__opts_group.html#ga7ca713c7532eff4d41a492e95b8822cf">natsOptions_IPResolutionOrder</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keywordtype">int</span> order);</div><div class="line"><a name="l01501"></a><span class="lineno"> 1501</span>&#160;</div><div class="line"><a name="l01529"></a><span class="lineno"> 1529</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01530"></a><span class="lineno"> 1530</span>&#160;<a class="code" href="group__opts_group.html#ga8f06568cc3319a5a0eef9f80282034ca">natsOptions_SetSendAsap</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keywordtype">bool</span> sendAsap);</div><div class="line"><a name="l01531"></a><span class="lineno"> 1531</span>&#160;</div><div class="line"><a name="l01541"></a><span class="lineno"> 1541</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01542"></a><span class="lineno"> 1542</span>&#160;<a class="code" href="group__opts_group.html#ga70aa85319933d78c0076cc862fa3e5a6">natsOptions_UseOldRequestStyle</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keywordtype">bool</span> useOldStyle);</div><div class="line"><a name="l01543"></a><span class="lineno"> 1543</span>&#160;</div><div class="line"><a name="l01558"></a><span class="lineno"> 1558</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01559"></a><span class="lineno"> 1559</span>&#160;<a class="code" href="group__opts_group.html#gadef4376a5e608cbc8c1a9e2b6335dc79">natsOptions_SetFailRequestsOnDisconnect</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keywordtype">bool</span> failRequests);</div><div class="line"><a name="l01560"></a><span class="lineno"> 1560</span>&#160;</div><div class="line"><a name="l01579"></a><span class="lineno"> 1579</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01580"></a><span class="lineno"> 1580</span>&#160;<a class="code" href="group__opts_group.html#ga4f694b87039cedaa65cd25656b14d1a3">natsOptions_SetNoEcho</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keywordtype">bool</span> noEcho);</div><div class="line"><a name="l01581"></a><span class="lineno"> 1581</span>&#160;</div><div class="line"><a name="l01635"></a><span class="lineno"> 1635</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01636"></a><span class="lineno"> 1636</span>&#160;<a class="code" href="group__opts_group.html#ga20946800d024b7089e73d63454d1c19f">natsOptions_SetRetryOnFailedConnect</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keywordtype">bool</span> retry,</div><div class="line"><a name="l01637"></a><span class="lineno"> 1637</span>&#160;        <a class="code" href="group__callbacks_group.html#gacdef6aff3e47953f19e35857ab8e274c">natsConnectionHandler</a> connectedCb, <span class="keywordtype">void</span>* closure);</div><div class="line"><a name="l01638"></a><span class="lineno"> 1638</span>&#160;</div><div class="line"><a name="l01667"></a><span class="lineno"> 1667</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01668"></a><span class="lineno"> 1668</span>&#160;<a class="code" href="group__opts_group.html#ga60117450fc1f7b6f81bab455aeed7515">natsOptions_SetUserCredentialsCallbacks</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts,</div><div class="line"><a name="l01669"></a><span class="lineno"> 1669</span>&#160;                                        <a class="code" href="group__callbacks_group.html#ga258b30458134be90f17315c037f34b7b">natsUserJWTHandler</a>      ujwtCB,</div><div class="line"><a name="l01670"></a><span class="lineno"> 1670</span>&#160;                                        <span class="keywordtype">void</span>                    *ujwtClosure,</div><div class="line"><a name="l01671"></a><span class="lineno"> 1671</span>&#160;                                        <a class="code" href="group__callbacks_group.html#gab786ffd670c86de0563559351305080b">natsSignatureHandler</a>    sigCB,</div><div class="line"><a name="l01672"></a><span class="lineno"> 1672</span>&#160;                                        <span class="keywordtype">void</span>                    *sigClosure);</div><div class="line"><a name="l01673"></a><span class="lineno"> 1673</span>&#160;</div><div class="line"><a name="l01712"></a><span class="lineno"> 1712</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01713"></a><span class="lineno"> 1713</span>&#160;<a class="code" href="group__opts_group.html#ga59b47f7b7a19085cf8eaada9bfe5606e">natsOptions_SetUserCredentialsFromFiles</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts,</div><div class="line"><a name="l01714"></a><span class="lineno"> 1714</span>&#160;                                        <span class="keyword">const</span> <span class="keywordtype">char</span> *userOrChainedFile,</div><div class="line"><a name="l01715"></a><span class="lineno"> 1715</span>&#160;                                        <span class="keyword">const</span> <span class="keywordtype">char</span> *seedFile);</div><div class="line"><a name="l01716"></a><span class="lineno"> 1716</span>&#160;</div><div class="line"><a name="l01740"></a><span class="lineno"> 1740</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01741"></a><span class="lineno"> 1741</span>&#160;<a class="code" href="group__opts_group.html#ga0290eac4665569c850468d9f00e246a0">natsOptions_SetNKey</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a>             *opts,</div><div class="line"><a name="l01742"></a><span class="lineno"> 1742</span>&#160;                    <span class="keyword">const</span> <span class="keywordtype">char</span>              *pubKey,</div><div class="line"><a name="l01743"></a><span class="lineno"> 1743</span>&#160;                    <a class="code" href="group__callbacks_group.html#gab786ffd670c86de0563559351305080b">natsSignatureHandler</a>    sigCB,</div><div class="line"><a name="l01744"></a><span class="lineno"> 1744</span>&#160;                    <span class="keywordtype">void</span>                    *sigClosure);</div><div class="line"><a name="l01745"></a><span class="lineno"> 1745</span>&#160;</div><div class="line"><a name="l01770"></a><span class="lineno"> 1770</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01771"></a><span class="lineno"> 1771</span>&#160;<a class="code" href="group__opts_group.html#ga696f02e0493c00d3c1eafff45b62b68e">natsOptions_SetNKeyFromSeed</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts,</div><div class="line"><a name="l01772"></a><span class="lineno"> 1772</span>&#160;                            <span class="keyword">const</span> <span class="keywordtype">char</span>  *pubKey,</div><div class="line"><a name="l01773"></a><span class="lineno"> 1773</span>&#160;                            <span class="keyword">const</span> <span class="keywordtype">char</span>  *seedFile);</div><div class="line"><a name="l01774"></a><span class="lineno"> 1774</span>&#160;</div><div class="line"><a name="l01788"></a><span class="lineno"> 1788</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01789"></a><span class="lineno"> 1789</span>&#160;<a class="code" href="group__opts_group.html#gaafda5fb8d9ee3a17bd475ceaecfac218">natsOptions_SetWriteDeadline</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, int64_t deadline);</div><div class="line"><a name="l01790"></a><span class="lineno"> 1790</span>&#160;</div><div class="line"><a name="l01825"></a><span class="lineno"> 1825</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01826"></a><span class="lineno"> 1826</span>&#160;<a class="code" href="group__opts_group.html#ga192465163abb87ad48a843b45cdf9984">natsOptions_DisableNoResponders</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keywordtype">bool</span> disabled);</div><div class="line"><a name="l01827"></a><span class="lineno"> 1827</span>&#160;</div><div class="line"><a name="l01835"></a><span class="lineno"> 1835</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">void</span></div><div class="line"><a name="l01836"></a><span class="lineno"> 1836</span>&#160;<a class="code" href="group__opts_group.html#ga93d8068cd6fff53b7f8e1c403db45eb9">natsOptions_Destroy</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts);</div><div class="line"><a name="l01837"></a><span class="lineno"> 1837</span>&#160; <span class="comment">// end of optsGroup</span></div><div class="line"><a name="l01839"></a><span class="lineno"> 1839</span>&#160;</div><div class="line"><a name="l01840"></a><span class="lineno"> 1840</span>&#160;<span class="preprocessor">#if defined(NATS_HAS_STREAMING)</span></div><div class="line"><a name="l01841"></a><span class="lineno"> 1841</span>&#160;</div><div class="line"><a name="l01874"></a><span class="lineno"> 1874</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01875"></a><span class="lineno"> 1875</span>&#160;<a class="code" href="group__stan_conn_opts_group.html#gaff52a1ce90253b4bdbb0005fca4f71b6">stanConnOptions_Create</a>(<a class="code" href="group__types_group.html#ga13d64411878ba13a6ca39c915f2447c1">stanConnOptions</a> **newOpts);</div><div class="line"><a name="l01876"></a><span class="lineno"> 1876</span>&#160;</div><div class="line"><a name="l01898"></a><span class="lineno"> 1898</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01899"></a><span class="lineno"> 1899</span>&#160;<a class="code" href="group__stan_conn_opts_group.html#ga3c6d511fc1e1febcdf5344960de5a0b3">stanConnOptions_SetURL</a>(<a class="code" href="group__types_group.html#ga13d64411878ba13a6ca39c915f2447c1">stanConnOptions</a> *opts, <span class="keyword">const</span> <span class="keywordtype">char</span> *url);</div><div class="line"><a name="l01900"></a><span class="lineno"> 1900</span>&#160;</div><div class="line"><a name="l01917"></a><span class="lineno"> 1917</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01918"></a><span class="lineno"> 1918</span>&#160;<a class="code" href="group__stan_conn_opts_group.html#gae3fc9a4daa7f85367811a313857337b4">stanConnOptions_SetNATSOptions</a>(<a class="code" href="group__types_group.html#ga13d64411878ba13a6ca39c915f2447c1">stanConnOptions</a> *opts, <a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *nOpts);</div><div class="line"><a name="l01919"></a><span class="lineno"> 1919</span>&#160;</div><div class="line"><a name="l01929"></a><span class="lineno"> 1929</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01930"></a><span class="lineno"> 1930</span>&#160;<a class="code" href="group__stan_conn_opts_group.html#ga66c72c482696d9ceca71fced7cbb1264">stanConnOptions_SetConnectionWait</a>(<a class="code" href="group__types_group.html#ga13d64411878ba13a6ca39c915f2447c1">stanConnOptions</a> *opts, int64_t wait);</div><div class="line"><a name="l01931"></a><span class="lineno"> 1931</span>&#160;</div><div class="line"><a name="l01941"></a><span class="lineno"> 1941</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01942"></a><span class="lineno"> 1942</span>&#160;<a class="code" href="group__stan_conn_opts_group.html#ga36f2ee441562dcf619d6e020b823fc96">stanConnOptions_SetPubAckWait</a>(<a class="code" href="group__types_group.html#ga13d64411878ba13a6ca39c915f2447c1">stanConnOptions</a> *opts, int64_t wait);</div><div class="line"><a name="l01943"></a><span class="lineno"> 1943</span>&#160;</div><div class="line"><a name="l01951"></a><span class="lineno"> 1951</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01952"></a><span class="lineno"> 1952</span>&#160;<a class="code" href="group__stan_conn_opts_group.html#ga07105d1d00878bba19f47243b2c88402">stanConnOptions_SetDiscoveryPrefix</a>(<a class="code" href="group__types_group.html#ga13d64411878ba13a6ca39c915f2447c1">stanConnOptions</a> *opts, <span class="keyword">const</span> <span class="keywordtype">char</span> *prefix);</div><div class="line"><a name="l01953"></a><span class="lineno"> 1953</span>&#160;</div><div class="line"><a name="l01954"></a><span class="lineno"> 1954</span>&#160;</div><div class="line"><a name="l01969"></a><span class="lineno"> 1969</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01970"></a><span class="lineno"> 1970</span>&#160;<a class="code" href="group__stan_conn_opts_group.html#ga29eee1be7eff749aeac3bab60d1b0405">stanConnOptions_SetMaxPubAcksInflight</a>(<a class="code" href="group__types_group.html#ga13d64411878ba13a6ca39c915f2447c1">stanConnOptions</a> *opts, <span class="keywordtype">int</span> maxPubAcksInflight, <span class="keywordtype">float</span> percentage);</div><div class="line"><a name="l01971"></a><span class="lineno"> 1971</span>&#160;</div><div class="line"><a name="l01987"></a><span class="lineno"> 1987</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01988"></a><span class="lineno"> 1988</span>&#160;<a class="code" href="group__stan_conn_opts_group.html#gad835223f08fbeae2a3c7a34d3fa1550b">stanConnOptions_SetPings</a>(<a class="code" href="group__types_group.html#ga13d64411878ba13a6ca39c915f2447c1">stanConnOptions</a> *opts, <span class="keywordtype">int</span> interval, <span class="keywordtype">int</span> maxOut);</div><div class="line"><a name="l01989"></a><span class="lineno"> 1989</span>&#160;</div><div class="line"><a name="l02000"></a><span class="lineno"> 2000</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02001"></a><span class="lineno"> 2001</span>&#160;<a class="code" href="group__stan_conn_opts_group.html#ga19ba15c8001aa835b261eea3a309e6d3">stanConnOptions_SetConnectionLostHandler</a>(<a class="code" href="group__types_group.html#ga13d64411878ba13a6ca39c915f2447c1">stanConnOptions</a> *opts, <a class="code" href="group__callbacks_group.html#gac34092f6c698374f86ad349302bdd55c">stanConnectionLostHandler</a> handler, <span class="keywordtype">void</span> *closure);</div><div class="line"><a name="l02002"></a><span class="lineno"> 2002</span>&#160;</div><div class="line"><a name="l02010"></a><span class="lineno"> 2010</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">void</span></div><div class="line"><a name="l02011"></a><span class="lineno"> 2011</span>&#160;<a class="code" href="group__stan_conn_opts_group.html#ga83fd0a29b136cbfb643be642eb2fa726">stanConnOptions_Destroy</a>(<a class="code" href="group__types_group.html#ga13d64411878ba13a6ca39c915f2447c1">stanConnOptions</a> *opts);</div><div class="line"><a name="l02012"></a><span class="lineno"> 2012</span>&#160; <span class="comment">// end of stanConnOptsGroup</span></div><div class="line"><a name="l02014"></a><span class="lineno"> 2014</span>&#160;</div><div class="line"><a name="l02045"></a><span class="lineno"> 2045</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02046"></a><span class="lineno"> 2046</span>&#160;<a class="code" href="group__stan_sub_opts_group.html#gad87a2cef4f4ddf64696f9864773c37cf">stanSubOptions_Create</a>(<a class="code" href="group__types_group.html#ga023712711f5c289663fc2223e83686d3">stanSubOptions</a> **newOpts);</div><div class="line"><a name="l02047"></a><span class="lineno"> 2047</span>&#160;</div><div class="line"><a name="l02066"></a><span class="lineno"> 2066</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02067"></a><span class="lineno"> 2067</span>&#160;<a class="code" href="group__stan_sub_opts_group.html#gaa018bceba99ef3726157e87c6918ab14">stanSubOptions_SetDurableName</a>(<a class="code" href="group__types_group.html#ga023712711f5c289663fc2223e83686d3">stanSubOptions</a> *opts, <span class="keyword">const</span> <span class="keywordtype">char</span> *durableName);</div><div class="line"><a name="l02068"></a><span class="lineno"> 2068</span>&#160;</div><div class="line"><a name="l02082"></a><span class="lineno"> 2082</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02083"></a><span class="lineno"> 2083</span>&#160;<a class="code" href="group__stan_sub_opts_group.html#gafbb4e6c74978c4e8f30f016c20cc2bdf">stanSubOptions_SetAckWait</a>(<a class="code" href="group__types_group.html#ga023712711f5c289663fc2223e83686d3">stanSubOptions</a> *opts, int64_t wait);</div><div class="line"><a name="l02084"></a><span class="lineno"> 2084</span>&#160;</div><div class="line"><a name="l02096"></a><span class="lineno"> 2096</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02097"></a><span class="lineno"> 2097</span>&#160;<a class="code" href="group__stan_sub_opts_group.html#ga35efbdea888e00440c500845064931c0">stanSubOptions_SetMaxInflight</a>(<a class="code" href="group__types_group.html#ga023712711f5c289663fc2223e83686d3">stanSubOptions</a> *opts, <span class="keywordtype">int</span> maxInflight);</div><div class="line"><a name="l02098"></a><span class="lineno"> 2098</span>&#160;</div><div class="line"><a name="l02114"></a><span class="lineno"> 2114</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02115"></a><span class="lineno"> 2115</span>&#160;<a class="code" href="group__stan_sub_opts_group.html#ga6cb7f6e1ac697d16959f9042eeb84dc1">stanSubOptions_StartAtSequence</a>(<a class="code" href="group__types_group.html#ga023712711f5c289663fc2223e83686d3">stanSubOptions</a> *opts, uint64_t seq);</div><div class="line"><a name="l02116"></a><span class="lineno"> 2116</span>&#160;</div><div class="line"><a name="l02131"></a><span class="lineno"> 2131</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02132"></a><span class="lineno"> 2132</span>&#160;<a class="code" href="group__stan_sub_opts_group.html#gaafd7a553486eea3c9d309da0744a3608">stanSubOptions_StartAtTime</a>(<a class="code" href="group__types_group.html#ga023712711f5c289663fc2223e83686d3">stanSubOptions</a> *opts, int64_t time);</div><div class="line"><a name="l02133"></a><span class="lineno"> 2133</span>&#160;</div><div class="line"><a name="l02145"></a><span class="lineno"> 2145</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02146"></a><span class="lineno"> 2146</span>&#160;<a class="code" href="group__stan_sub_opts_group.html#ga27d9175901997b8468997019746599b5">stanSubOptions_StartAtTimeDelta</a>(<a class="code" href="group__types_group.html#ga023712711f5c289663fc2223e83686d3">stanSubOptions</a> *opts, int64_t delta);</div><div class="line"><a name="l02147"></a><span class="lineno"> 2147</span>&#160;</div><div class="line"><a name="l02156"></a><span class="lineno"> 2156</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02157"></a><span class="lineno"> 2157</span>&#160;<a class="code" href="group__stan_sub_opts_group.html#ga856a74e31f3307faf988747c1f88717c">stanSubOptions_StartWithLastReceived</a>(<a class="code" href="group__types_group.html#ga023712711f5c289663fc2223e83686d3">stanSubOptions</a> *opts);</div><div class="line"><a name="l02158"></a><span class="lineno"> 2158</span>&#160;</div><div class="line"><a name="l02166"></a><span class="lineno"> 2166</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02167"></a><span class="lineno"> 2167</span>&#160;<a class="code" href="group__stan_sub_opts_group.html#gab09b81358e93199a4631eb06f1ec179f">stanSubOptions_DeliverAllAvailable</a>(<a class="code" href="group__types_group.html#ga023712711f5c289663fc2223e83686d3">stanSubOptions</a> *opts);</div><div class="line"><a name="l02168"></a><span class="lineno"> 2168</span>&#160;</div><div class="line"><a name="l02183"></a><span class="lineno"> 2183</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02184"></a><span class="lineno"> 2184</span>&#160;<a class="code" href="group__stan_sub_opts_group.html#ga6f49ae2629e49d2bfa35990cf030bf83">stanSubOptions_SetManualAckMode</a>(<a class="code" href="group__types_group.html#ga023712711f5c289663fc2223e83686d3">stanSubOptions</a> *opts, <span class="keywordtype">bool</span> manual);</div><div class="line"><a name="l02185"></a><span class="lineno"> 2185</span>&#160;</div><div class="line"><a name="l02193"></a><span class="lineno"> 2193</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">void</span></div><div class="line"><a name="l02194"></a><span class="lineno"> 2194</span>&#160;<a class="code" href="group__stan_sub_opts_group.html#ga1b56877d0a6729e148c9c288e2b88e3f">stanSubOptions_Destroy</a>(<a class="code" href="group__types_group.html#ga023712711f5c289663fc2223e83686d3">stanSubOptions</a> *opts);</div><div class="line"><a name="l02195"></a><span class="lineno"> 2195</span>&#160; <span class="comment">// end of stanSubOptsGroup</span></div><div class="line"><a name="l02197"></a><span class="lineno"> 2197</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l02198"></a><span class="lineno"> 2198</span>&#160;</div><div class="line"><a name="l02218"></a><span class="lineno"> 2218</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02219"></a><span class="lineno"> 2219</span>&#160;<a class="code" href="group__inbox_group.html#gaa1ec779a0b7ead54b78da05533848b6d">natsInbox_Create</a>(natsInbox **newInbox);</div><div class="line"><a name="l02220"></a><span class="lineno"> 2220</span>&#160;</div><div class="line"><a name="l02227"></a><span class="lineno"> 2227</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">void</span></div><div class="line"><a name="l02228"></a><span class="lineno"> 2228</span>&#160;<a class="code" href="group__inbox_group.html#gabd6444fb8f28afb9c2b6645945f46cfe">natsInbox_Destroy</a>(natsInbox *inbox);</div><div class="line"><a name="l02229"></a><span class="lineno"> 2229</span>&#160; <span class="comment">// end of inboxGroup</span></div><div class="line"><a name="l02231"></a><span class="lineno"> 2231</span>&#160;</div><div class="line"><a name="l02255"></a><span class="lineno"> 2255</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02256"></a><span class="lineno"> 2256</span>&#160;<a class="code" href="group__msg_group.html#ga098e4fec1c5a71c00a0d092fbd6d1a21">natsMsg_Create</a>(<a class="code" href="group__types_group.html#gadcab54026c4ed78f344ce03ce31bb61a">natsMsg</a> **newMsg, <span class="keyword">const</span> <span class="keywordtype">char</span> *subj, <span class="keyword">const</span> <span class="keywordtype">char</span> *reply,</div><div class="line"><a name="l02257"></a><span class="lineno"> 2257</span>&#160;               <span class="keyword">const</span> <span class="keywordtype">char</span> *data, <span class="keywordtype">int</span> dataLen);</div><div class="line"><a name="l02258"></a><span class="lineno"> 2258</span>&#160;</div><div class="line"><a name="l02267"></a><span class="lineno"> 2267</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keyword">const</span> <span class="keywordtype">char</span>*</div><div class="line"><a name="l02268"></a><span class="lineno"> 2268</span>&#160;<a class="code" href="group__msg_group.html#gae4338b582ab420cf6d8373bef8cffd75">natsMsg_GetSubject</a>(<span class="keyword">const</span> <a class="code" href="group__types_group.html#gadcab54026c4ed78f344ce03ce31bb61a">natsMsg</a> *msg);</div><div class="line"><a name="l02269"></a><span class="lineno"> 2269</span>&#160;</div><div class="line"><a name="l02279"></a><span class="lineno"> 2279</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keyword">const</span> <span class="keywordtype">char</span>*</div><div class="line"><a name="l02280"></a><span class="lineno"> 2280</span>&#160;<a class="code" href="group__msg_group.html#gaf3e9ab8edfa09b1e40ddb969d9ba5f01">natsMsg_GetReply</a>(<span class="keyword">const</span> <a class="code" href="group__types_group.html#gadcab54026c4ed78f344ce03ce31bb61a">natsMsg</a> *msg);</div><div class="line"><a name="l02281"></a><span class="lineno"> 2281</span>&#160;</div><div class="line"><a name="l02297"></a><span class="lineno"> 2297</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keyword">const</span> <span class="keywordtype">char</span>*</div><div class="line"><a name="l02298"></a><span class="lineno"> 2298</span>&#160;<a class="code" href="group__msg_group.html#ga9b33d47bc5ff9fa987dea102b4a0498f">natsMsg_GetData</a>(<span class="keyword">const</span> <a class="code" href="group__types_group.html#gadcab54026c4ed78f344ce03ce31bb61a">natsMsg</a> *msg);</div><div class="line"><a name="l02299"></a><span class="lineno"> 2299</span>&#160;</div><div class="line"><a name="l02306"></a><span class="lineno"> 2306</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">int</span></div><div class="line"><a name="l02307"></a><span class="lineno"> 2307</span>&#160;<a class="code" href="group__msg_group.html#ga25b69066ae50287e178aaf4f70f7d3de">natsMsg_GetDataLength</a>(<span class="keyword">const</span> <a class="code" href="group__types_group.html#gadcab54026c4ed78f344ce03ce31bb61a">natsMsg</a> *msg);</div><div class="line"><a name="l02308"></a><span class="lineno"> 2308</span>&#160;</div><div class="line"><a name="l02324"></a><span class="lineno"> 2324</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02325"></a><span class="lineno"> 2325</span>&#160;<a class="code" href="group__msg_group.html#gaf30b47d4217c9335919f05536e379af8">natsMsgHeader_Set</a>(<a class="code" href="group__types_group.html#gadcab54026c4ed78f344ce03ce31bb61a">natsMsg</a> *msg, <span class="keyword">const</span> <span class="keywordtype">char</span> *key, <span class="keyword">const</span> <span class="keywordtype">char</span> *value);</div><div class="line"><a name="l02326"></a><span class="lineno"> 2326</span>&#160;</div><div class="line"><a name="l02342"></a><span class="lineno"> 2342</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02343"></a><span class="lineno"> 2343</span>&#160;<a class="code" href="group__msg_group.html#ga2b641ec3b1745604d7de1102e472254b">natsMsgHeader_Add</a>(<a class="code" href="group__types_group.html#gadcab54026c4ed78f344ce03ce31bb61a">natsMsg</a> *msg, <span class="keyword">const</span> <span class="keywordtype">char</span> *key, <span class="keyword">const</span> <span class="keywordtype">char</span> *value);</div><div class="line"><a name="l02344"></a><span class="lineno"> 2344</span>&#160;</div><div class="line"><a name="l02363"></a><span class="lineno"> 2363</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02364"></a><span class="lineno"> 2364</span>&#160;<a class="code" href="group__msg_group.html#gab3349f0b0ce721b340d5c0753c90ee18">natsMsgHeader_Get</a>(<a class="code" href="group__types_group.html#gadcab54026c4ed78f344ce03ce31bb61a">natsMsg</a> *msg, <span class="keyword">const</span> <span class="keywordtype">char</span> *key, <span class="keyword">const</span> <span class="keywordtype">char</span> **value);</div><div class="line"><a name="l02365"></a><span class="lineno"> 2365</span>&#160;</div><div class="line"><a name="l02399"></a><span class="lineno"> 2399</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02400"></a><span class="lineno"> 2400</span>&#160;<a class="code" href="group__msg_group.html#gae1ce9c9d82d151a3ea9dc03da048f66f">natsMsgHeader_Values</a>(<a class="code" href="group__types_group.html#gadcab54026c4ed78f344ce03ce31bb61a">natsMsg</a> *msg, <span class="keyword">const</span> <span class="keywordtype">char</span> *key, <span class="keyword">const</span> <span class="keywordtype">char</span>* **values, <span class="keywordtype">int</span> *count);</div><div class="line"><a name="l02401"></a><span class="lineno"> 2401</span>&#160;</div><div class="line"><a name="l02431"></a><span class="lineno"> 2431</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02432"></a><span class="lineno"> 2432</span>&#160;<a class="code" href="group__msg_group.html#ga6ee8a007111ada293dd24ff0bab02491">natsMsgHeader_Keys</a>(<a class="code" href="group__types_group.html#gadcab54026c4ed78f344ce03ce31bb61a">natsMsg</a> *msg, <span class="keyword">const</span> <span class="keywordtype">char</span>* **keys, <span class="keywordtype">int</span> *count);</div><div class="line"><a name="l02433"></a><span class="lineno"> 2433</span>&#160;</div><div class="line"><a name="l02446"></a><span class="lineno"> 2446</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02447"></a><span class="lineno"> 2447</span>&#160;<a class="code" href="group__msg_group.html#gac78ca02dc93d05cae837ced6386408f1">natsMsgHeader_Delete</a>(<a class="code" href="group__types_group.html#gadcab54026c4ed78f344ce03ce31bb61a">natsMsg</a> *msg, <span class="keyword">const</span> <span class="keywordtype">char</span> *key);</div><div class="line"><a name="l02448"></a><span class="lineno"> 2448</span>&#160;</div><div class="line"><a name="l02474"></a><span class="lineno"> 2474</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">bool</span></div><div class="line"><a name="l02475"></a><span class="lineno"> 2475</span>&#160;<a class="code" href="group__msg_group.html#ga43aa4a8e4b93725b4876ee2677e19c7b">natsMsg_IsNoResponders</a>(<a class="code" href="group__types_group.html#gadcab54026c4ed78f344ce03ce31bb61a">natsMsg</a> *msg);</div><div class="line"><a name="l02476"></a><span class="lineno"> 2476</span>&#160;</div><div class="line"><a name="l02483"></a><span class="lineno"> 2483</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">void</span></div><div class="line"><a name="l02484"></a><span class="lineno"> 2484</span>&#160;<a class="code" href="group__msg_group.html#ga9e9590018284939f43f60964283f33ae">natsMsg_Destroy</a>(<a class="code" href="group__types_group.html#gadcab54026c4ed78f344ce03ce31bb61a">natsMsg</a> *msg);</div><div class="line"><a name="l02485"></a><span class="lineno"> 2485</span>&#160; <span class="comment">// end of msgGroup</span></div><div class="line"><a name="l02487"></a><span class="lineno"> 2487</span>&#160;</div><div class="line"><a name="l02488"></a><span class="lineno"> 2488</span>&#160;<span class="preprocessor">#if defined(NATS_HAS_STREAMING)</span></div><div class="line"><a name="l02489"></a><span class="lineno"> 2489</span>&#160;</div><div class="line"><a name="l02501"></a><span class="lineno"> 2501</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> uint64_t</div><div class="line"><a name="l02502"></a><span class="lineno"> 2502</span>&#160;<a class="code" href="group__stan_msg_group.html#ga98b66ff73447e1d7e329edbfcde782b5">stanMsg_GetSequence</a>(<span class="keyword">const</span> <a class="code" href="group__types_group.html#ga2cf5db7703b42d97abe56a3e83b2a87d">stanMsg</a> *msg);</div><div class="line"><a name="l02503"></a><span class="lineno"> 2503</span>&#160;</div><div class="line"><a name="l02510"></a><span class="lineno"> 2510</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> int64_t</div><div class="line"><a name="l02511"></a><span class="lineno"> 2511</span>&#160;<a class="code" href="group__stan_msg_group.html#ga2fa524b11e9621cf46ca9b1a3ca66452">stanMsg_GetTimestamp</a>(<span class="keyword">const</span> <a class="code" href="group__types_group.html#ga2cf5db7703b42d97abe56a3e83b2a87d">stanMsg</a> *msg);</div><div class="line"><a name="l02512"></a><span class="lineno"> 2512</span>&#160;</div><div class="line"><a name="l02521"></a><span class="lineno"> 2521</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">bool</span></div><div class="line"><a name="l02522"></a><span class="lineno"> 2522</span>&#160;<a class="code" href="group__stan_msg_group.html#ga8e537d014b89d9d7da7906b2ee75d5c0">stanMsg_IsRedelivered</a>(<span class="keyword">const</span> <a class="code" href="group__types_group.html#ga2cf5db7703b42d97abe56a3e83b2a87d">stanMsg</a> *msg);</div><div class="line"><a name="l02523"></a><span class="lineno"> 2523</span>&#160;</div><div class="line"><a name="l02539"></a><span class="lineno"> 2539</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keyword">const</span> <span class="keywordtype">char</span>*</div><div class="line"><a name="l02540"></a><span class="lineno"> 2540</span>&#160;<a class="code" href="group__stan_msg_group.html#ga27477570a712b0d6315a823fc400b038">stanMsg_GetData</a>(<span class="keyword">const</span> <a class="code" href="group__types_group.html#ga2cf5db7703b42d97abe56a3e83b2a87d">stanMsg</a> *msg);</div><div class="line"><a name="l02541"></a><span class="lineno"> 2541</span>&#160;</div><div class="line"><a name="l02548"></a><span class="lineno"> 2548</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">int</span></div><div class="line"><a name="l02549"></a><span class="lineno"> 2549</span>&#160;<a class="code" href="group__stan_msg_group.html#ga7d1e394a686bc25ab7376b7f28b9e777">stanMsg_GetDataLength</a>(<span class="keyword">const</span> <a class="code" href="group__types_group.html#ga2cf5db7703b42d97abe56a3e83b2a87d">stanMsg</a> *msg);</div><div class="line"><a name="l02550"></a><span class="lineno"> 2550</span>&#160;</div><div class="line"><a name="l02557"></a><span class="lineno"> 2557</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">void</span></div><div class="line"><a name="l02558"></a><span class="lineno"> 2558</span>&#160;<a class="code" href="group__stan_msg_group.html#gacd0059fb499963f5b2eae18053e5f74f">stanMsg_Destroy</a>(<a class="code" href="group__types_group.html#ga2cf5db7703b42d97abe56a3e83b2a87d">stanMsg</a> *msg);</div><div class="line"><a name="l02559"></a><span class="lineno"> 2559</span>&#160; <span class="comment">// end of stanMsgGroup</span></div><div class="line"><a name="l02561"></a><span class="lineno"> 2561</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l02562"></a><span class="lineno"> 2562</span>&#160;</div><div class="line"><a name="l02593"></a><span class="lineno"> 2593</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02594"></a><span class="lineno"> 2594</span>&#160;<a class="code" href="group__conn_mgt_group.html#ga740be1ba16a8570eb98ef6755ebf52ce">natsConnection_Connect</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> **nc, <a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *options);</div><div class="line"><a name="l02595"></a><span class="lineno"> 2595</span>&#160;</div><div class="line"><a name="l02606"></a><span class="lineno"> 2606</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">void</span></div><div class="line"><a name="l02607"></a><span class="lineno"> 2607</span>&#160;<a class="code" href="group__conn_mgt_group.html#gaa89c06e30e19ff361125bfc9114d89a8">natsConnection_ProcessReadEvent</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc);</div><div class="line"><a name="l02608"></a><span class="lineno"> 2608</span>&#160;</div><div class="line"><a name="l02619"></a><span class="lineno"> 2619</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">void</span></div><div class="line"><a name="l02620"></a><span class="lineno"> 2620</span>&#160;<a class="code" href="group__conn_mgt_group.html#gad81b603b84c0180aefc6d5ebad7f2a47">natsConnection_ProcessWriteEvent</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc);</div><div class="line"><a name="l02621"></a><span class="lineno"> 2621</span>&#160;</div><div class="line"><a name="l02640"></a><span class="lineno"> 2640</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02641"></a><span class="lineno"> 2641</span>&#160;<a class="code" href="group__conn_mgt_group.html#gafb83c8d7970ba68be0e6c40c38cdfde4">natsConnection_ConnectTo</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> **nc, <span class="keyword">const</span> <span class="keywordtype">char</span> *urls);</div><div class="line"><a name="l02642"></a><span class="lineno"> 2642</span>&#160;</div><div class="line"><a name="l02649"></a><span class="lineno"> 2649</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">bool</span></div><div class="line"><a name="l02650"></a><span class="lineno"> 2650</span>&#160;<a class="code" href="group__conn_mgt_group.html#ga530f0f1c75c58a81aae1a59f15b46d9f">natsConnection_IsClosed</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc);</div><div class="line"><a name="l02651"></a><span class="lineno"> 2651</span>&#160;</div><div class="line"><a name="l02658"></a><span class="lineno"> 2658</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">bool</span></div><div class="line"><a name="l02659"></a><span class="lineno"> 2659</span>&#160;<a class="code" href="group__conn_mgt_group.html#ga5aa349fc3895dde772671b324b07a688">natsConnection_IsReconnecting</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc);</div><div class="line"><a name="l02660"></a><span class="lineno"> 2660</span>&#160;</div><div class="line"><a name="l02667"></a><span class="lineno"> 2667</span>&#160;<span class="keywordtype">bool</span></div><div class="line"><a name="l02668"></a><span class="lineno"> 2668</span>&#160;<a class="code" href="group__conn_mgt_group.html#ga15a0f8aa9a6f621535d01593a4c8edd5">natsConnection_IsDraining</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc);</div><div class="line"><a name="l02669"></a><span class="lineno"> 2669</span>&#160;</div><div class="line"><a name="l02678"></a><span class="lineno"> 2678</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a6d667c1f8dd289a7e0f39bf10e800b51">natsConnStatus</a></div><div class="line"><a name="l02679"></a><span class="lineno"> 2679</span>&#160;<a class="code" href="group__conn_mgt_group.html#ga33fa209522e5e0226b5b7c7d720a3b98">natsConnection_Status</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc);</div><div class="line"><a name="l02680"></a><span class="lineno"> 2680</span>&#160;</div><div class="line"><a name="l02692"></a><span class="lineno"> 2692</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">int</span></div><div class="line"><a name="l02693"></a><span class="lineno"> 2693</span>&#160;<a class="code" href="group__conn_mgt_group.html#ga0433159e518540ff874c4026fe9cd0c5">natsConnection_Buffered</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc);</div><div class="line"><a name="l02694"></a><span class="lineno"> 2694</span>&#160;</div><div class="line"><a name="l02710"></a><span class="lineno"> 2710</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02711"></a><span class="lineno"> 2711</span>&#160;<a class="code" href="group__conn_mgt_group.html#ga1c98f8d89bb8e20ea8621e860a90267f">natsConnection_Flush</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc);</div><div class="line"><a name="l02712"></a><span class="lineno"> 2712</span>&#160;</div><div class="line"><a name="l02725"></a><span class="lineno"> 2725</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02726"></a><span class="lineno"> 2726</span>&#160;<a class="code" href="group__conn_mgt_group.html#ga85915ef0c8b87993be1b076099d6a7c1">natsConnection_FlushTimeout</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc, int64_t timeout);</div><div class="line"><a name="l02727"></a><span class="lineno"> 2727</span>&#160;</div><div class="line"><a name="l02737"></a><span class="lineno"> 2737</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> int64_t</div><div class="line"><a name="l02738"></a><span class="lineno"> 2738</span>&#160;<a class="code" href="group__conn_mgt_group.html#ga68e7149f7ff1cc4989b3f795fa7e76d9">natsConnection_GetMaxPayload</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc);</div><div class="line"><a name="l02739"></a><span class="lineno"> 2739</span>&#160;</div><div class="line"><a name="l02749"></a><span class="lineno"> 2749</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02750"></a><span class="lineno"> 2750</span>&#160;<a class="code" href="group__conn_mgt_group.html#ga68821a8ae1176096b5afef7fdc7947ec">natsConnection_GetStats</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc, <a class="code" href="group__types_group.html#ga57a4b8c7109e2773878655722ce028aa">natsStatistics</a> *stats);</div><div class="line"><a name="l02751"></a><span class="lineno"> 2751</span>&#160;</div><div class="line"><a name="l02761"></a><span class="lineno"> 2761</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02762"></a><span class="lineno"> 2762</span>&#160;<a class="code" href="group__conn_mgt_group.html#gaf623280407c43ade02285005f0642e6d">natsConnection_GetConnectedUrl</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc, <span class="keywordtype">char</span> *buffer, <span class="keywordtype">size_t</span> bufferSize);</div><div class="line"><a name="l02763"></a><span class="lineno"> 2763</span>&#160;</div><div class="line"><a name="l02773"></a><span class="lineno"> 2773</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02774"></a><span class="lineno"> 2774</span>&#160;<a class="code" href="group__conn_mgt_group.html#ga48cee9ea1cdc9fc2770de2f9f0fd1ccf">natsConnection_GetConnectedServerId</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc, <span class="keywordtype">char</span> *buffer, <span class="keywordtype">size_t</span> bufferSize);</div><div class="line"><a name="l02775"></a><span class="lineno"> 2775</span>&#160;</div><div class="line"><a name="l02796"></a><span class="lineno"> 2796</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02797"></a><span class="lineno"> 2797</span>&#160;<a class="code" href="group__conn_mgt_group.html#gaf4ee7262e35e44c40ad5dfe9240db76b">natsConnection_GetServers</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc, <span class="keywordtype">char</span> ***servers, <span class="keywordtype">int</span> *count);</div><div class="line"><a name="l02798"></a><span class="lineno"> 2798</span>&#160;</div><div class="line"><a name="l02819"></a><span class="lineno"> 2819</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02820"></a><span class="lineno"> 2820</span>&#160;<a class="code" href="group__conn_mgt_group.html#gad25c77be0873495412c90a73fe450708">natsConnection_GetDiscoveredServers</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc, <span class="keywordtype">char</span> ***servers, <span class="keywordtype">int</span> *count);</div><div class="line"><a name="l02821"></a><span class="lineno"> 2821</span>&#160;</div><div class="line"><a name="l02834"></a><span class="lineno"> 2834</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02835"></a><span class="lineno"> 2835</span>&#160;<a class="code" href="group__conn_mgt_group.html#gab6cfa9cb6857ae10f096a94f5e244e63">natsConnection_GetLastError</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc, <span class="keyword">const</span> <span class="keywordtype">char</span> **lastError);</div><div class="line"><a name="l02836"></a><span class="lineno"> 2836</span>&#160;</div><div class="line"><a name="l02850"></a><span class="lineno"> 2850</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02851"></a><span class="lineno"> 2851</span>&#160;<a class="code" href="group__conn_mgt_group.html#ga747513ba6ab63fdf9a72bfc8025a14ba">natsConnection_GetClientID</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc, uint64_t *cid);</div><div class="line"><a name="l02852"></a><span class="lineno"> 2852</span>&#160;</div><div class="line"><a name="l02871"></a><span class="lineno"> 2871</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02872"></a><span class="lineno"> 2872</span>&#160;<a class="code" href="group__conn_mgt_group.html#ga59bdc4ad9fea2053f5d3841f6b83f88b">natsConnection_Drain</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc);</div><div class="line"><a name="l02873"></a><span class="lineno"> 2873</span>&#160;</div><div class="line"><a name="l02891"></a><span class="lineno"> 2891</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02892"></a><span class="lineno"> 2892</span>&#160;<a class="code" href="group__conn_mgt_group.html#gae06fe6f5933f216d6d93645a122a7dd4">natsConnection_DrainTimeout</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc, int64_t timeout);</div><div class="line"><a name="l02893"></a><span class="lineno"> 2893</span>&#160;</div><div class="line"><a name="l02906"></a><span class="lineno"> 2906</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02907"></a><span class="lineno"> 2907</span>&#160;<a class="code" href="group__conn_mgt_group.html#ga6960cfdbaac3b8759784f352d4c264f8">natsConnection_Sign</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc,</div><div class="line"><a name="l02908"></a><span class="lineno"> 2908</span>&#160;                    <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *message, <span class="keywordtype">int</span> messageLen,</div><div class="line"><a name="l02909"></a><span class="lineno"> 2909</span>&#160;                    <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> sig[64]);</div><div class="line"><a name="l02910"></a><span class="lineno"> 2910</span>&#160;</div><div class="line"><a name="l02929"></a><span class="lineno"> 2929</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02930"></a><span class="lineno"> 2930</span>&#160;<a class="code" href="group__conn_mgt_group.html#gadafcfeeeac2733c7119981ab97b7103d">natsConnection_GetClientIP</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc, <span class="keywordtype">char</span> **ip);</div><div class="line"><a name="l02931"></a><span class="lineno"> 2931</span>&#160;</div><div class="line"><a name="l02942"></a><span class="lineno"> 2942</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02943"></a><span class="lineno"> 2943</span>&#160;<a class="code" href="group__conn_mgt_group.html#gaa3fd27e6e7d8131e679d4f10e201c435">natsConnection_GetRTT</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc, int64_t *rtt);</div><div class="line"><a name="l02944"></a><span class="lineno"> 2944</span>&#160;</div><div class="line"><a name="l02952"></a><span class="lineno"> 2952</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02953"></a><span class="lineno"> 2953</span>&#160;<a class="code" href="group__conn_mgt_group.html#gad765b80ae8e1a06a7a942cccf29f042a">natsConnection_HasHeaderSupport</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc);</div><div class="line"><a name="l02954"></a><span class="lineno"> 2954</span>&#160;</div><div class="line"><a name="l02974"></a><span class="lineno"> 2974</span>&#160;<a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02975"></a><span class="lineno"> 2975</span>&#160;<a class="code" href="group__conn_mgt_group.html#ga761095a42374b4dafa178df7d7652dd5">natsConnection_GetLocalIPAndPort</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc, <span class="keywordtype">char</span> **ip, <span class="keywordtype">int</span> *port);</div><div class="line"><a name="l02976"></a><span class="lineno"> 2976</span>&#160;</div><div class="line"><a name="l02986"></a><span class="lineno"> 2986</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">void</span></div><div class="line"><a name="l02987"></a><span class="lineno"> 2987</span>&#160;<a class="code" href="group__conn_mgt_group.html#ga19e204d27a232e2d4334301fc002b2ed">natsConnection_Close</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc);</div><div class="line"><a name="l02988"></a><span class="lineno"> 2988</span>&#160;</div><div class="line"><a name="l02996"></a><span class="lineno"> 2996</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">void</span></div><div class="line"><a name="l02997"></a><span class="lineno"> 2997</span>&#160;<a class="code" href="group__conn_mgt_group.html#gafda2f702276fb0ac301efac10df09495">natsConnection_Destroy</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc);</div><div class="line"><a name="l02998"></a><span class="lineno"> 2998</span>&#160; <span class="comment">// end of connMgtGroup</span></div><div class="line"><a name="l03000"></a><span class="lineno"> 3000</span>&#160;</div><div class="line"><a name="l03017"></a><span class="lineno"> 3017</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03018"></a><span class="lineno"> 3018</span>&#160;<a class="code" href="group__conn_pub_group.html#gac0b9f7759ecc39b8d77807b94254f9b4">natsConnection_Publish</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc, <span class="keyword">const</span> <span class="keywordtype">char</span> *subj,</div><div class="line"><a name="l03019"></a><span class="lineno"> 3019</span>&#160;                       <span class="keyword">const</span> <span class="keywordtype">void</span> *data, <span class="keywordtype">int</span> dataLen);</div><div class="line"><a name="l03020"></a><span class="lineno"> 3020</span>&#160;</div><div class="line"><a name="l03035"></a><span class="lineno"> 3035</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03036"></a><span class="lineno"> 3036</span>&#160;<a class="code" href="group__conn_pub_group.html#gad09a717c20de4cf0e2a21dcfd9ce6c64">natsConnection_PublishString</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc, <span class="keyword">const</span> <span class="keywordtype">char</span> *subj,</div><div class="line"><a name="l03037"></a><span class="lineno"> 3037</span>&#160;                             <span class="keyword">const</span> <span class="keywordtype">char</span> *str);</div><div class="line"><a name="l03038"></a><span class="lineno"> 3038</span>&#160;</div><div class="line"><a name="l03049"></a><span class="lineno"> 3049</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03050"></a><span class="lineno"> 3050</span>&#160;<a class="code" href="group__conn_pub_group.html#ga74511acd87385931112c45c48c2a14ba">natsConnection_PublishMsg</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc, <a class="code" href="group__types_group.html#gadcab54026c4ed78f344ce03ce31bb61a">natsMsg</a> *msg);</div><div class="line"><a name="l03051"></a><span class="lineno"> 3051</span>&#160;</div><div class="line"><a name="l03064"></a><span class="lineno"> 3064</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03065"></a><span class="lineno"> 3065</span>&#160;<a class="code" href="group__conn_pub_group.html#gaaaa3d75ffec2dcdc6bf905cdb1eee59e">natsConnection_PublishRequest</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc, <span class="keyword">const</span> <span class="keywordtype">char</span> *subj,</div><div class="line"><a name="l03066"></a><span class="lineno"> 3066</span>&#160;                              <span class="keyword">const</span> <span class="keywordtype">char</span> *reply, <span class="keyword">const</span> <span class="keywordtype">void</span> *data, <span class="keywordtype">int</span> dataLen);</div><div class="line"><a name="l03067"></a><span class="lineno"> 3067</span>&#160;</div><div class="line"><a name="l03084"></a><span class="lineno"> 3084</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03085"></a><span class="lineno"> 3085</span>&#160;<a class="code" href="group__conn_pub_group.html#gaafca9a8294e81a5a9979e762931e56c5">natsConnection_PublishRequestString</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc, <span class="keyword">const</span> <span class="keywordtype">char</span> *subj,</div><div class="line"><a name="l03086"></a><span class="lineno"> 3086</span>&#160;                                    <span class="keyword">const</span> <span class="keywordtype">char</span> *reply, <span class="keyword">const</span> <span class="keywordtype">char</span> *str);</div><div class="line"><a name="l03087"></a><span class="lineno"> 3087</span>&#160;</div><div class="line"><a name="l03105"></a><span class="lineno"> 3105</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03106"></a><span class="lineno"> 3106</span>&#160;<a class="code" href="group__conn_pub_group.html#gaf4b4a022f9c21fc269b87c000330c5a7">natsConnection_Request</a>(<a class="code" href="group__types_group.html#gadcab54026c4ed78f344ce03ce31bb61a">natsMsg</a> **replyMsg, <a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc, <span class="keyword">const</span> <span class="keywordtype">char</span> *subj,</div><div class="line"><a name="l03107"></a><span class="lineno"> 3107</span>&#160;                       <span class="keyword">const</span> <span class="keywordtype">void</span> *data, <span class="keywordtype">int</span> dataLen, int64_t timeout);</div><div class="line"><a name="l03108"></a><span class="lineno"> 3108</span>&#160;</div><div class="line"><a name="l03130"></a><span class="lineno"> 3130</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03131"></a><span class="lineno"> 3131</span>&#160;<a class="code" href="group__conn_pub_group.html#ga4bb5105df6a3efd2088e6be0fdf6b31f">natsConnection_RequestString</a>(<a class="code" href="group__types_group.html#gadcab54026c4ed78f344ce03ce31bb61a">natsMsg</a> **replyMsg, <a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc,</div><div class="line"><a name="l03132"></a><span class="lineno"> 3132</span>&#160;                             <span class="keyword">const</span> <span class="keywordtype">char</span> *subj, <span class="keyword">const</span> <span class="keywordtype">char</span> *str,</div><div class="line"><a name="l03133"></a><span class="lineno"> 3133</span>&#160;                             int64_t timeout);</div><div class="line"><a name="l03134"></a><span class="lineno"> 3134</span>&#160;</div><div class="line"><a name="l03149"></a><span class="lineno"> 3149</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03150"></a><span class="lineno"> 3150</span>&#160;<a class="code" href="group__conn_pub_group.html#ga052de4b75b3b69ccd8d20eb4861b801d">natsConnection_RequestMsg</a>(<a class="code" href="group__types_group.html#gadcab54026c4ed78f344ce03ce31bb61a">natsMsg</a> **replyMsg, <a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc,</div><div class="line"><a name="l03151"></a><span class="lineno"> 3151</span>&#160;                          <a class="code" href="group__types_group.html#gadcab54026c4ed78f344ce03ce31bb61a">natsMsg</a> *requestMsg, int64_t timeout);</div><div class="line"><a name="l03152"></a><span class="lineno"> 3152</span>&#160; <span class="comment">// end of connPubGroup</span></div><div class="line"><a name="l03154"></a><span class="lineno"> 3154</span>&#160;</div><div class="line"><a name="l03175"></a><span class="lineno"> 3175</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03176"></a><span class="lineno"> 3176</span>&#160;<a class="code" href="group__conn_sub_group.html#gaefab965b5645798d47f9244f2b3fe3fb">natsConnection_Subscribe</a>(<a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> **sub, <a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc,</div><div class="line"><a name="l03177"></a><span class="lineno"> 3177</span>&#160;                         <span class="keyword">const</span> <span class="keywordtype">char</span> *subject, <a class="code" href="group__callbacks_group.html#gad1a5ac566893e13dc8c81ac0e9c87afe">natsMsgHandler</a> cb,</div><div class="line"><a name="l03178"></a><span class="lineno"> 3178</span>&#160;                         <span class="keywordtype">void</span> *cbClosure);</div><div class="line"><a name="l03179"></a><span class="lineno"> 3179</span>&#160;</div><div class="line"><a name="l03210"></a><span class="lineno"> 3210</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03211"></a><span class="lineno"> 3211</span>&#160;<a class="code" href="group__conn_sub_group.html#gacb2c83b58b7909715424cbc327fdd404">natsConnection_SubscribeTimeout</a>(<a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> **sub, <a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc,</div><div class="line"><a name="l03212"></a><span class="lineno"> 3212</span>&#160;                                <span class="keyword">const</span> <span class="keywordtype">char</span> *subject, int64_t timeout,</div><div class="line"><a name="l03213"></a><span class="lineno"> 3213</span>&#160;                                <a class="code" href="group__callbacks_group.html#gad1a5ac566893e13dc8c81ac0e9c87afe">natsMsgHandler</a> cb, <span class="keywordtype">void</span> *cbClosure);</div><div class="line"><a name="l03214"></a><span class="lineno"> 3214</span>&#160;</div><div class="line"><a name="l03225"></a><span class="lineno"> 3225</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03226"></a><span class="lineno"> 3226</span>&#160;<a class="code" href="group__conn_sub_group.html#ga17574d5165f7e285462e3d3b2709edf4">natsConnection_SubscribeSync</a>(<a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> **sub, <a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc,</div><div class="line"><a name="l03227"></a><span class="lineno"> 3227</span>&#160;                             <span class="keyword">const</span> <span class="keywordtype">char</span> *subject);</div><div class="line"><a name="l03228"></a><span class="lineno"> 3228</span>&#160;</div><div class="line"><a name="l03246"></a><span class="lineno"> 3246</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03247"></a><span class="lineno"> 3247</span>&#160;<a class="code" href="group__conn_sub_group.html#ga3c9fee2775130786ef62f1cbeb191a48">natsConnection_QueueSubscribe</a>(<a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> **sub, <a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc,</div><div class="line"><a name="l03248"></a><span class="lineno"> 3248</span>&#160;                              <span class="keyword">const</span> <span class="keywordtype">char</span> *subject, <span class="keyword">const</span> <span class="keywordtype">char</span> *queueGroup,</div><div class="line"><a name="l03249"></a><span class="lineno"> 3249</span>&#160;                              <a class="code" href="group__callbacks_group.html#gad1a5ac566893e13dc8c81ac0e9c87afe">natsMsgHandler</a> cb, <span class="keywordtype">void</span> *cbClosure);</div><div class="line"><a name="l03250"></a><span class="lineno"> 3250</span>&#160;</div><div class="line"><a name="l03283"></a><span class="lineno"> 3283</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03284"></a><span class="lineno"> 3284</span>&#160;<a class="code" href="group__conn_sub_group.html#ga96fa115fd5b2ef7658884da80714b91c">natsConnection_QueueSubscribeTimeout</a>(<a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> **sub, <a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc,</div><div class="line"><a name="l03285"></a><span class="lineno"> 3285</span>&#160;                   <span class="keyword">const</span> <span class="keywordtype">char</span> *subject, <span class="keyword">const</span> <span class="keywordtype">char</span> *queueGroup,</div><div class="line"><a name="l03286"></a><span class="lineno"> 3286</span>&#160;                   int64_t timeout, <a class="code" href="group__callbacks_group.html#gad1a5ac566893e13dc8c81ac0e9c87afe">natsMsgHandler</a> cb, <span class="keywordtype">void</span> *cbClosure);</div><div class="line"><a name="l03287"></a><span class="lineno"> 3287</span>&#160;</div><div class="line"><a name="l03299"></a><span class="lineno"> 3299</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03300"></a><span class="lineno"> 3300</span>&#160;<a class="code" href="group__conn_sub_group.html#ga68630ea7c4bbdc7f8cd62058b41fb476">natsConnection_QueueSubscribeSync</a>(<a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> **sub, <a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc,</div><div class="line"><a name="l03301"></a><span class="lineno"> 3301</span>&#160;                                  <span class="keyword">const</span> <span class="keywordtype">char</span> *subject, <span class="keyword">const</span> <span class="keywordtype">char</span> *queueGroup);</div><div class="line"><a name="l03302"></a><span class="lineno"> 3302</span>&#160; <span class="comment">// end of connSubGroup</span></div><div class="line"><a name="l03304"></a><span class="lineno"> 3304</span>&#160; <span class="comment">// end of connGroup</span></div><div class="line"><a name="l03306"></a><span class="lineno"> 3306</span>&#160;</div><div class="line"><a name="l03325"></a><span class="lineno"> 3325</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03326"></a><span class="lineno"> 3326</span>&#160;<a class="code" href="group__sub_group.html#ga38f1e41fc7619101fc4aa52014dd5428">natsSubscription_NoDeliveryDelay</a>(<a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> *sub);</div><div class="line"><a name="l03327"></a><span class="lineno"> 3327</span>&#160;</div><div class="line"><a name="l03350"></a><span class="lineno"> 3350</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03351"></a><span class="lineno"> 3351</span>&#160;<a class="code" href="group__sub_group.html#ga6538a5d78dfb0f16514b94c8e74c11af">natsSubscription_NextMsg</a>(<a class="code" href="group__types_group.html#gadcab54026c4ed78f344ce03ce31bb61a">natsMsg</a> **nextMsg, <a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> *sub,</div><div class="line"><a name="l03352"></a><span class="lineno"> 3352</span>&#160;                         int64_t timeout);</div><div class="line"><a name="l03353"></a><span class="lineno"> 3353</span>&#160;</div><div class="line"><a name="l03362"></a><span class="lineno"> 3362</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03363"></a><span class="lineno"> 3363</span>&#160;<a class="code" href="group__sub_group.html#gaee87f8be0e6c2a4693ba2cea070583ba">natsSubscription_Unsubscribe</a>(<a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> *sub);</div><div class="line"><a name="l03364"></a><span class="lineno"> 3364</span>&#160;</div><div class="line"><a name="l03376"></a><span class="lineno"> 3376</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03377"></a><span class="lineno"> 3377</span>&#160;<a class="code" href="group__sub_group.html#ga09f285de2746a6e27fc66efd60bd3116">natsSubscription_AutoUnsubscribe</a>(<a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> *sub, <span class="keywordtype">int</span> max);</div><div class="line"><a name="l03378"></a><span class="lineno"> 3378</span>&#160;</div><div class="line"><a name="l03388"></a><span class="lineno"> 3388</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03389"></a><span class="lineno"> 3389</span>&#160;<a class="code" href="group__sub_group.html#ga8a37b2d5290da3aecc05483d79e7e254">natsSubscription_QueuedMsgs</a>(<a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> *sub, uint64_t *queuedMsgs);</div><div class="line"><a name="l03390"></a><span class="lineno"> 3390</span>&#160;</div><div class="line"><a name="l03411"></a><span class="lineno"> 3411</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03412"></a><span class="lineno"> 3412</span>&#160;<a class="code" href="group__sub_group.html#ga68a7cea89e75c529a7dd3bb77303dda4">natsSubscription_SetPendingLimits</a>(<a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> *sub, <span class="keywordtype">int</span> msgLimit, <span class="keywordtype">int</span> bytesLimit);</div><div class="line"><a name="l03413"></a><span class="lineno"> 3413</span>&#160;</div><div class="line"><a name="l03433"></a><span class="lineno"> 3433</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03434"></a><span class="lineno"> 3434</span>&#160;<a class="code" href="group__sub_group.html#ga786bb458981274fe717f266bd3b96d96">natsSubscription_GetPendingLimits</a>(<a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> *sub, <span class="keywordtype">int</span> *msgLimit, <span class="keywordtype">int</span> *bytesLimit);</div><div class="line"><a name="l03435"></a><span class="lineno"> 3435</span>&#160;</div><div class="line"><a name="l03450"></a><span class="lineno"> 3450</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03451"></a><span class="lineno"> 3451</span>&#160;<a class="code" href="group__sub_group.html#gaca6262e2ef842caa701a9f233db72707">natsSubscription_GetPending</a>(<a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> *sub, <span class="keywordtype">int</span> *msgs, <span class="keywordtype">int</span> *bytes);</div><div class="line"><a name="l03452"></a><span class="lineno"> 3452</span>&#160;</div><div class="line"><a name="l03461"></a><span class="lineno"> 3461</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03462"></a><span class="lineno"> 3462</span>&#160;<a class="code" href="group__sub_group.html#ga476b7276d0b7f9946834d2bb2423e955">natsSubscription_GetDelivered</a>(<a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> *sub, int64_t *msgs);</div><div class="line"><a name="l03463"></a><span class="lineno"> 3463</span>&#160;</div><div class="line"><a name="l03479"></a><span class="lineno"> 3479</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03480"></a><span class="lineno"> 3480</span>&#160;<a class="code" href="group__sub_group.html#ga24f1636869e26661ce62c9c9f4d80823">natsSubscription_GetDropped</a>(<a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> *sub, int64_t *msgs);</div><div class="line"><a name="l03481"></a><span class="lineno"> 3481</span>&#160;</div><div class="line"><a name="l03494"></a><span class="lineno"> 3494</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03495"></a><span class="lineno"> 3495</span>&#160;<a class="code" href="group__sub_group.html#ga0abc5d9afbc6b0c9c5adaf533904c968">natsSubscription_GetMaxPending</a>(<a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> *sub, <span class="keywordtype">int</span> *msgs, <span class="keywordtype">int</span> *bytes);</div><div class="line"><a name="l03496"></a><span class="lineno"> 3496</span>&#160;</div><div class="line"><a name="l03503"></a><span class="lineno"> 3503</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03504"></a><span class="lineno"> 3504</span>&#160;<a class="code" href="group__sub_group.html#gafe31911d8372db401d33856465421710">natsSubscription_ClearMaxPending</a>(<a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> *sub);</div><div class="line"><a name="l03505"></a><span class="lineno"> 3505</span>&#160;</div><div class="line"><a name="l03532"></a><span class="lineno"> 3532</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03533"></a><span class="lineno"> 3533</span>&#160;<a class="code" href="group__sub_group.html#ga12b60cdb3aca7329edebc480ae86bfab">natsSubscription_GetStats</a>(<a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> *sub,</div><div class="line"><a name="l03534"></a><span class="lineno"> 3534</span>&#160;                          <span class="keywordtype">int</span>     *pendingMsgs,</div><div class="line"><a name="l03535"></a><span class="lineno"> 3535</span>&#160;                          <span class="keywordtype">int</span>     *pendingBytes,</div><div class="line"><a name="l03536"></a><span class="lineno"> 3536</span>&#160;                          <span class="keywordtype">int</span>     *maxPendingMsgs,</div><div class="line"><a name="l03537"></a><span class="lineno"> 3537</span>&#160;                          <span class="keywordtype">int</span>     *maxPendingBytes,</div><div class="line"><a name="l03538"></a><span class="lineno"> 3538</span>&#160;                          int64_t *deliveredMsgs,</div><div class="line"><a name="l03539"></a><span class="lineno"> 3539</span>&#160;                          int64_t *droppedMsgs);</div><div class="line"><a name="l03540"></a><span class="lineno"> 3540</span>&#160;</div><div class="line"><a name="l03549"></a><span class="lineno"> 3549</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">bool</span></div><div class="line"><a name="l03550"></a><span class="lineno"> 3550</span>&#160;<a class="code" href="group__sub_group.html#ga5e6454bbc7a90b9694112d45bd8de903">natsSubscription_IsValid</a>(<a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> *sub);</div><div class="line"><a name="l03551"></a><span class="lineno"> 3551</span>&#160;</div><div class="line"><a name="l03569"></a><span class="lineno"> 3569</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03570"></a><span class="lineno"> 3570</span>&#160;<a class="code" href="group__sub_group.html#ga26c9736289d326fb7d6df7e2a0df72ab">natsSubscription_Drain</a>(<a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> *sub);</div><div class="line"><a name="l03571"></a><span class="lineno"> 3571</span>&#160;</div><div class="line"><a name="l03622"></a><span class="lineno"> 3622</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03623"></a><span class="lineno"> 3623</span>&#160;<a class="code" href="group__sub_group.html#ga9c26a3f9584e7804060a48ec1b7e2a68">natsSubscription_DrainTimeout</a>(<a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> *sub, int64_t timeout);</div><div class="line"><a name="l03624"></a><span class="lineno"> 3624</span>&#160;</div><div class="line"><a name="l03647"></a><span class="lineno"> 3647</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03648"></a><span class="lineno"> 3648</span>&#160;<a class="code" href="group__sub_group.html#ga0408c9b6e4ad4078ac0267656ace222d">natsSubscription_WaitForDrainCompletion</a>(<a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> *sub, int64_t timeout);</div><div class="line"><a name="l03649"></a><span class="lineno"> 3649</span>&#160;</div><div class="line"><a name="l03675"></a><span class="lineno"> 3675</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03676"></a><span class="lineno"> 3676</span>&#160;<a class="code" href="group__sub_group.html#ga9834bd02f67a25ac084d5ad71e146019">natsSubscription_DrainCompletionStatus</a>(<a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> *sub);</div><div class="line"><a name="l03677"></a><span class="lineno"> 3677</span>&#160;</div><div class="line"><a name="l03706"></a><span class="lineno"> 3706</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03707"></a><span class="lineno"> 3707</span>&#160;<a class="code" href="group__sub_group.html#gaea632f845d473e7461b134c0e7bf4077">natsSubscription_SetOnCompleteCB</a>(<a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> *sub, <a class="code" href="group__callbacks_group.html#ga245131e64f1d0dff7edc8ed874a07e9a">natsOnCompleteCB</a> cb, <span class="keywordtype">void</span> *closure);</div><div class="line"><a name="l03708"></a><span class="lineno"> 3708</span>&#160;</div><div class="line"><a name="l03716"></a><span class="lineno"> 3716</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">void</span></div><div class="line"><a name="l03717"></a><span class="lineno"> 3717</span>&#160;<a class="code" href="group__sub_group.html#ga50a95dd96e9b714201679a015d62832f">natsSubscription_Destroy</a>(<a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> *sub);</div><div class="line"><a name="l03718"></a><span class="lineno"> 3718</span>&#160; <span class="comment">// end of subGroup</span></div><div class="line"><a name="l03720"></a><span class="lineno"> 3720</span>&#160;</div><div class="line"><a name="l03721"></a><span class="lineno"> 3721</span>&#160;<span class="preprocessor">#if defined(NATS_HAS_STREAMING)</span></div><div class="line"><a name="l03722"></a><span class="lineno"> 3722</span>&#160;</div><div class="line"><a name="l03762"></a><span class="lineno"> 3762</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03763"></a><span class="lineno"> 3763</span>&#160;<a class="code" href="group__stan_conn_mgt_group.html#ga35e0e6e5e3b7f3818a3ac3600efb8f8f">stanConnection_Connect</a>(<a class="code" href="group__types_group.html#ga9e826493769d23086cfccefe95cdf64c">stanConnection</a> **sc, <span class="keyword">const</span> <span class="keywordtype">char</span> *clusterID, <span class="keyword">const</span> <span class="keywordtype">char</span> *clientID,</div><div class="line"><a name="l03764"></a><span class="lineno"> 3764</span>&#160;                       <a class="code" href="group__types_group.html#ga13d64411878ba13a6ca39c915f2447c1">stanConnOptions</a> *options);</div><div class="line"><a name="l03765"></a><span class="lineno"> 3765</span>&#160;</div><div class="line"><a name="l03788"></a><span class="lineno"> 3788</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03789"></a><span class="lineno"> 3789</span>&#160;<a class="code" href="group__stan_conn_mgt_group.html#ga166ec494a55c9b1f9ebafd2294e05ff6">stanConnection_GetNATSConnection</a>(<a class="code" href="group__types_group.html#ga9e826493769d23086cfccefe95cdf64c">stanConnection</a> *sc, <a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> **nc);</div><div class="line"><a name="l03790"></a><span class="lineno"> 3790</span>&#160;</div><div class="line"><a name="l03815"></a><span class="lineno"> 3815</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">void</span></div><div class="line"><a name="l03816"></a><span class="lineno"> 3816</span>&#160;<a class="code" href="group__stan_conn_mgt_group.html#ga2e56a93825e1214a5ab688860e2a8ce6">stanConnection_ReleaseNATSConnection</a>(<a class="code" href="group__types_group.html#ga9e826493769d23086cfccefe95cdf64c">stanConnection</a> *sc);</div><div class="line"><a name="l03817"></a><span class="lineno"> 3817</span>&#160;</div><div class="line"><a name="l03828"></a><span class="lineno"> 3828</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03829"></a><span class="lineno"> 3829</span>&#160;<a class="code" href="group__stan_conn_mgt_group.html#ga4952a7f65a53fdb5ca1c26b1a1656f1d">stanConnection_Close</a>(<a class="code" href="group__types_group.html#ga9e826493769d23086cfccefe95cdf64c">stanConnection</a> *sc);</div><div class="line"><a name="l03830"></a><span class="lineno"> 3830</span>&#160;</div><div class="line"><a name="l03838"></a><span class="lineno"> 3838</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03839"></a><span class="lineno"> 3839</span>&#160;<a class="code" href="group__stan_conn_mgt_group.html#gaea095eec18fdf04e06de16711f8b1a04">stanConnection_Destroy</a>(<a class="code" href="group__types_group.html#ga9e826493769d23086cfccefe95cdf64c">stanConnection</a> *sc);</div><div class="line"><a name="l03840"></a><span class="lineno"> 3840</span>&#160; <span class="comment">// end of stanConnMgtGroup</span></div><div class="line"><a name="l03842"></a><span class="lineno"> 3842</span>&#160;</div><div class="line"><a name="l03859"></a><span class="lineno"> 3859</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03860"></a><span class="lineno"> 3860</span>&#160;<a class="code" href="group__stan_conn_pub_group.html#ga24f3f7f709b15fe53e1edaeead08fc7d">stanConnection_Publish</a>(<a class="code" href="group__types_group.html#ga9e826493769d23086cfccefe95cdf64c">stanConnection</a> *sc, <span class="keyword">const</span> <span class="keywordtype">char</span> *channel,</div><div class="line"><a name="l03861"></a><span class="lineno"> 3861</span>&#160;                       <span class="keyword">const</span> <span class="keywordtype">void</span> *data, <span class="keywordtype">int</span> dataLen);</div><div class="line"><a name="l03862"></a><span class="lineno"> 3862</span>&#160;</div><div class="line"><a name="l03886"></a><span class="lineno"> 3886</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03887"></a><span class="lineno"> 3887</span>&#160;<a class="code" href="group__stan_conn_pub_group.html#ga0c4d1e4615f8ac834f0a4021f75d39f0">stanConnection_PublishAsync</a>(<a class="code" href="group__types_group.html#ga9e826493769d23086cfccefe95cdf64c">stanConnection</a> *sc, <span class="keyword">const</span> <span class="keywordtype">char</span> *channel,</div><div class="line"><a name="l03888"></a><span class="lineno"> 3888</span>&#160;                            <span class="keyword">const</span> <span class="keywordtype">void</span> *data, <span class="keywordtype">int</span> dataLen,</div><div class="line"><a name="l03889"></a><span class="lineno"> 3889</span>&#160;                            <a class="code" href="group__callbacks_group.html#gad5d6a685731b3bf635995b7375af4d18">stanPubAckHandler</a> ah, <span class="keywordtype">void</span> *ahClosure);</div><div class="line"><a name="l03890"></a><span class="lineno"> 3890</span>&#160; <span class="comment">// end of stanConnPubGroup</span></div><div class="line"><a name="l03892"></a><span class="lineno"> 3892</span>&#160;</div><div class="line"><a name="l03915"></a><span class="lineno"> 3915</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03916"></a><span class="lineno"> 3916</span>&#160;<a class="code" href="group__stan_conn_sub_group.html#gae545358fdc493baf6d29429a8156781f">stanConnection_Subscribe</a>(<a class="code" href="group__types_group.html#gae4dae869fb614536f0f027c2e2660cc5">stanSubscription</a> **sub, <a class="code" href="group__types_group.html#ga9e826493769d23086cfccefe95cdf64c">stanConnection</a> *sc,</div><div class="line"><a name="l03917"></a><span class="lineno"> 3917</span>&#160;                         <span class="keyword">const</span> <span class="keywordtype">char</span> *channel, <a class="code" href="group__callbacks_group.html#gaf7456e37fa14f1834d9048d3789e9409">stanMsgHandler</a> cb,</div><div class="line"><a name="l03918"></a><span class="lineno"> 3918</span>&#160;                         <span class="keywordtype">void</span> *cbClosure, <a class="code" href="group__types_group.html#ga023712711f5c289663fc2223e83686d3">stanSubOptions</a> *options);</div><div class="line"><a name="l03919"></a><span class="lineno"> 3919</span>&#160;</div><div class="line"><a name="l03939"></a><span class="lineno"> 3939</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03940"></a><span class="lineno"> 3940</span>&#160;<a class="code" href="group__stan_conn_sub_group.html#ga17d42bf9a4fa39470561a1a668e6b4a2">stanConnection_QueueSubscribe</a>(<a class="code" href="group__types_group.html#gae4dae869fb614536f0f027c2e2660cc5">stanSubscription</a> **sub, <a class="code" href="group__types_group.html#ga9e826493769d23086cfccefe95cdf64c">stanConnection</a> *sc,</div><div class="line"><a name="l03941"></a><span class="lineno"> 3941</span>&#160;                              <span class="keyword">const</span> <span class="keywordtype">char</span> *channel, <span class="keyword">const</span> <span class="keywordtype">char</span> *queueGroup,</div><div class="line"><a name="l03942"></a><span class="lineno"> 3942</span>&#160;                              <a class="code" href="group__callbacks_group.html#gaf7456e37fa14f1834d9048d3789e9409">stanMsgHandler</a> cb, <span class="keywordtype">void</span> *cbClosure, <a class="code" href="group__types_group.html#ga023712711f5c289663fc2223e83686d3">stanSubOptions</a> *options);</div><div class="line"><a name="l03943"></a><span class="lineno"> 3943</span>&#160; <span class="comment">// end of stanConnSubGroup</span></div><div class="line"><a name="l03945"></a><span class="lineno"> 3945</span>&#160; <span class="comment">// end of stanConnGroup</span></div><div class="line"><a name="l03947"></a><span class="lineno"> 3947</span>&#160;</div><div class="line"><a name="l03976"></a><span class="lineno"> 3976</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03977"></a><span class="lineno"> 3977</span>&#160;<a class="code" href="group__stan_sub_group.html#ga7b039908ec45cfc2c16ec61ba8daca9d">stanSubscription_SetOnCompleteCB</a>(<a class="code" href="group__types_group.html#gae4dae869fb614536f0f027c2e2660cc5">stanSubscription</a> *sub, <a class="code" href="group__callbacks_group.html#ga245131e64f1d0dff7edc8ed874a07e9a">natsOnCompleteCB</a> cb, <span class="keywordtype">void</span> *closure);</div><div class="line"><a name="l03978"></a><span class="lineno"> 3978</span>&#160;</div><div class="line"><a name="l03988"></a><span class="lineno"> 3988</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03989"></a><span class="lineno"> 3989</span>&#160;<a class="code" href="group__stan_sub_group.html#ga3a1cca9fa3ea54fcf7a43fd1335a26d3">stanSubscription_AckMsg</a>(<a class="code" href="group__types_group.html#gae4dae869fb614536f0f027c2e2660cc5">stanSubscription</a> *sub, <a class="code" href="group__types_group.html#ga2cf5db7703b42d97abe56a3e83b2a87d">stanMsg</a> *msg);</div><div class="line"><a name="l03990"></a><span class="lineno"> 3990</span>&#160;</div><div class="line"><a name="l04010"></a><span class="lineno"> 4010</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l04011"></a><span class="lineno"> 4011</span>&#160;<a class="code" href="group__stan_sub_group.html#gafa428a7e0f6800216cb06fd738bd235e">stanSubscription_Unsubscribe</a>(<a class="code" href="group__types_group.html#gae4dae869fb614536f0f027c2e2660cc5">stanSubscription</a> *sub);</div><div class="line"><a name="l04012"></a><span class="lineno"> 4012</span>&#160;</div><div class="line"><a name="l04023"></a><span class="lineno"> 4023</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l04024"></a><span class="lineno"> 4024</span>&#160;<a class="code" href="group__stan_sub_group.html#gacfa3a7b4fa333c84acfa7521fbbb5bcc">stanSubscription_Close</a>(<a class="code" href="group__types_group.html#gae4dae869fb614536f0f027c2e2660cc5">stanSubscription</a> *sub);</div><div class="line"><a name="l04025"></a><span class="lineno"> 4025</span>&#160;</div><div class="line"><a name="l04033"></a><span class="lineno"> 4033</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">void</span></div><div class="line"><a name="l04034"></a><span class="lineno"> 4034</span>&#160;<a class="code" href="group__stan_sub_group.html#ga3f6ce924f6a1830a55e30e9910aad4ba">stanSubscription_Destroy</a>(<a class="code" href="group__types_group.html#gae4dae869fb614536f0f027c2e2660cc5">stanSubscription</a> *sub);</div><div class="line"><a name="l04035"></a><span class="lineno"> 4035</span>&#160; <span class="comment">// end of stanSubGroup</span></div><div class="line"><a name="l04037"></a><span class="lineno"> 4037</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l04038"></a><span class="lineno"> 4038</span>&#160; <span class="comment">// end of funcGroup</span></div><div class="line"><a name="l04040"></a><span class="lineno"> 4040</span>&#160;</div><div class="line"><a name="l04077"></a><span class="lineno"> 4077</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l04078"></a><span class="lineno"> 4078</span>&#160;}</div><div class="line"><a name="l04079"></a><span class="lineno"> 4079</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l04080"></a><span class="lineno"> 4080</span>&#160;</div><div class="line"><a name="l04081"></a><span class="lineno"> 4081</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* NATS_H_ */</span><span class="preprocessor"></span></div><div class="ttc" id="group__opts_group_html_gaafda5fb8d9ee3a17bd475ceaecfac218"><div class="ttname"><a href="group__opts_group.html#gaafda5fb8d9ee3a17bd475ceaecfac218">natsOptions_SetWriteDeadline</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetWriteDeadline(natsOptions *opts, int64_t deadline)</div><div class="ttdoc">Sets the write deadline. </div></div>
<div class="ttc" id="group__types_group_html_ga206c3d4d6f4f6f96fd2cae53a3df31c1"><div class="ttname"><a href="group__types_group.html#ga206c3d4d6f4f6f96fd2cae53a3df31c1">natsInbox</a></div><div class="ttdeci">char natsInbox</div><div class="ttdoc">Unique subject often used for point-to-point communication. </div><div class="ttdef"><b>Definition:</b> nats.h:137</div></div>
<div class="ttc" id="group__library_group_html_gaf75bb5b38bf32e6a8f43e54068625903"><div class="ttname"><a href="group__library_group.html#gaf75bb5b38bf32e6a8f43e54068625903">nats_CloseAndWait</a></div><div class="ttdeci">NATS_EXTERN natsStatus nats_CloseAndWait(int64_t timeout)</div><div class="ttdoc">Tear down the library and wait for all resources to be released. </div></div>
<div class="ttc" id="group__library_group_html_ga2610d5691a89a0f2526989083bee0fd3"><div class="ttname"><a href="group__library_group.html#ga2610d5691a89a0f2526989083bee0fd3">nats_GetLastError</a></div><div class="ttdeci">NATS_EXTERN const char * nats_GetLastError(natsStatus *status)</div><div class="ttdoc">Returns the calling thread&amp;#39;s last known error. </div></div>
<div class="ttc" id="group__stats_group_html_ga26a04e77af8fc160adf7c33088dcf59c"><div class="ttname"><a href="group__stats_group.html#ga26a04e77af8fc160adf7c33088dcf59c">natsStatistics_Destroy</a></div><div class="ttdeci">NATS_EXTERN void natsStatistics_Destroy(natsStatistics *stats)</div><div class="ttdoc">Destroys the natsStatistics object. </div></div>
<div class="ttc" id="group__library_group_html_gacf5e423920d6a647df3bbf7de39d5223"><div class="ttname"><a href="group__library_group.html#gacf5e423920d6a647df3bbf7de39d5223">nats_NowInNanoSeconds</a></div><div class="ttdeci">NATS_EXTERN int64_t nats_NowInNanoSeconds(void)</div><div class="ttdoc">Gives the current time in nanoseconds. </div></div>
<div class="ttc" id="group__stan_conn_opts_group_html_ga66c72c482696d9ceca71fced7cbb1264"><div class="ttname"><a href="group__stan_conn_opts_group.html#ga66c72c482696d9ceca71fced7cbb1264">stanConnOptions_SetConnectionWait</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanConnOptions_SetConnectionWait(stanConnOptions *opts, int64_t wait)</div><div class="ttdoc">Sets the timeout for establishing a connection. </div></div>
<div class="ttc" id="group__library_group_html_ga4a26d4caecb23348f6eee862c95fee7d"><div class="ttname"><a href="group__library_group.html#ga4a26d4caecb23348f6eee862c95fee7d">nats_Open</a></div><div class="ttdeci">NATS_EXTERN natsStatus nats_Open(int64_t lockSpinCount)</div><div class="ttdoc">Initializes the library. </div></div>
<div class="ttc" id="group__opts_group_html_ga2b7f144b011d8ce62941b608a8f324f0"><div class="ttname"><a href="group__opts_group.html#ga2b7f144b011d8ce62941b608a8f324f0">natsOptions_SetCipherSuites</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetCipherSuites(natsOptions *opts, const char *ciphers)</div><div class="ttdoc">Sets the list of available ciphers for TLSv1.3. </div></div>
<div class="ttc" id="group__opts_group_html_ga23a3b1f022112e98ddccb18b247b4426"><div class="ttname"><a href="group__opts_group.html#ga23a3b1f022112e98ddccb18b247b4426">natsOptions_SetTokenHandler</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetTokenHandler(natsOptions *opts, natsTokenHandler tokenCb, void *closure)</div><div class="ttdoc">Sets the tokenCb to use whenever a token is needed. </div></div>
<div class="ttc" id="group__opts_group_html_ga1c529d347be0fe2eec17c7f4698e283e"><div class="ttname"><a href="group__opts_group.html#ga1c529d347be0fe2eec17c7f4698e283e">natsOptions_SetName</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetName(natsOptions *opts, const char *name)</div><div class="ttdoc">Sets the name. </div></div>
<div class="ttc" id="group__types_group_html_ga023712711f5c289663fc2223e83686d3"><div class="ttname"><a href="group__types_group.html#ga023712711f5c289663fc2223e83686d3">stanSubOptions</a></div><div class="ttdeci">struct __stanSubOptions stanSubOptions</div><div class="ttdoc">Way to configure a stanSubscription. </div><div class="ttdef"><b>Definition:</b> nats.h:168</div></div>
<div class="ttc" id="group__conn_mgt_group_html_ga740be1ba16a8570eb98ef6755ebf52ce"><div class="ttname"><a href="group__conn_mgt_group.html#ga740be1ba16a8570eb98ef6755ebf52ce">natsConnection_Connect</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_Connect(natsConnection **nc, natsOptions *options)</div><div class="ttdoc">Connects to a NATS Server using the provided options. </div></div>
<div class="ttc" id="group__sub_group_html_ga9c26a3f9584e7804060a48ec1b7e2a68"><div class="ttname"><a href="group__sub_group.html#ga9c26a3f9584e7804060a48ec1b7e2a68">natsSubscription_DrainTimeout</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsSubscription_DrainTimeout(natsSubscription *sub, int64_t timeout)</div><div class="ttdoc">Drains the subscription with the specified timeout. </div></div>
<div class="ttc" id="group__callbacks_group_html_ga258b30458134be90f17315c037f34b7b"><div class="ttname"><a href="group__callbacks_group.html#ga258b30458134be90f17315c037f34b7b">natsUserJWTHandler</a></div><div class="ttdeci">natsStatus(* natsUserJWTHandler)(char **userJWT, char **customErrTxt, void *closure)</div><div class="ttdoc">Callback used to fetch and return account signed user JWT. </div><div class="ttdef"><b>Definition:</b> nats.h:304</div></div>
<div class="ttc" id="group__msg_group_html_ga6ee8a007111ada293dd24ff0bab02491"><div class="ttname"><a href="group__msg_group.html#ga6ee8a007111ada293dd24ff0bab02491">natsMsgHeader_Keys</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsMsgHeader_Keys(natsMsg *msg, const char ***keys, int *count)</div><div class="ttdoc">Get all header keys. </div></div>
<div class="ttc" id="group__opts_group_html_gadc8dc0cedd91bda71d544f3dedc4a039"><div class="ttname"><a href="group__opts_group.html#gadc8dc0cedd91bda71d544f3dedc4a039">natsOptions_SetDisconnectedCB</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetDisconnectedCB(natsOptions *opts, natsConnectionHandler disconnectedCb, void *closure)</div><div class="ttdoc">Sets the callback to be invoked when the connection to a server is lost. </div></div>
<div class="ttc" id="group__opts_group_html_gacb7e964ae54b74d972d72e118b7b8bdf"><div class="ttname"><a href="group__opts_group.html#gacb7e964ae54b74d972d72e118b7b8bdf">natsOptions_SetServers</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetServers(natsOptions *opts, const char **servers, int serversCount)</div><div class="ttdoc">Set the list of servers to try to (re)connect to. </div></div>
<div class="ttc" id="group__stan_msg_group_html_gacd0059fb499963f5b2eae18053e5f74f"><div class="ttname"><a href="group__stan_msg_group.html#gacd0059fb499963f5b2eae18053e5f74f">stanMsg_Destroy</a></div><div class="ttdeci">NATS_EXTERN void stanMsg_Destroy(stanMsg *msg)</div><div class="ttdoc">Destroys the message object. </div></div>
<div class="ttc" id="group__stan_msg_group_html_ga7d1e394a686bc25ab7376b7f28b9e777"><div class="ttname"><a href="group__stan_msg_group.html#ga7d1e394a686bc25ab7376b7f28b9e777">stanMsg_GetDataLength</a></div><div class="ttdeci">NATS_EXTERN int stanMsg_GetDataLength(const stanMsg *msg)</div><div class="ttdoc">Returns the message length. </div></div>
<div class="ttc" id="group__conn_sub_group_html_gaefab965b5645798d47f9244f2b3fe3fb"><div class="ttname"><a href="group__conn_sub_group.html#gaefab965b5645798d47f9244f2b3fe3fb">natsConnection_Subscribe</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_Subscribe(natsSubscription **sub, natsConnection *nc, const char *subject, natsMsgHandler cb, void *cbClosure)</div><div class="ttdoc">Creates an asynchronous subscription. </div></div>
<div class="ttc" id="group__stan_conn_sub_group_html_gae545358fdc493baf6d29429a8156781f"><div class="ttname"><a href="group__stan_conn_sub_group.html#gae545358fdc493baf6d29429a8156781f">stanConnection_Subscribe</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanConnection_Subscribe(stanSubscription **sub, stanConnection *sc, const char *channel, stanMsgHandler cb, void *cbClosure, stanSubOptions *options)</div><div class="ttdoc">Creates a subscription. </div></div>
<div class="ttc" id="group__conn_pub_group_html_gad09a717c20de4cf0e2a21dcfd9ce6c64"><div class="ttname"><a href="group__conn_pub_group.html#gad09a717c20de4cf0e2a21dcfd9ce6c64">natsConnection_PublishString</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_PublishString(natsConnection *nc, const char *subj, const char *str)</div><div class="ttdoc">Publishes a string on a subject. </div></div>
<div class="ttc" id="group__sub_group_html_ga38f1e41fc7619101fc4aa52014dd5428"><div class="ttname"><a href="group__sub_group.html#ga38f1e41fc7619101fc4aa52014dd5428">natsSubscription_NoDeliveryDelay</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsSubscription_NoDeliveryDelay(natsSubscription *sub)</div><div class="ttdoc">Enables the No Delivery Delay mode. </div></div>
<div class="ttc" id="group__stan_sub_opts_group_html_gad87a2cef4f4ddf64696f9864773c37cf"><div class="ttname"><a href="group__stan_sub_opts_group.html#gad87a2cef4f4ddf64696f9864773c37cf">stanSubOptions_Create</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanSubOptions_Create(stanSubOptions **newOpts)</div><div class="ttdoc">Creates a stanSubOptions object. </div></div>
<div class="ttc" id="group__sub_group_html_gaca6262e2ef842caa701a9f233db72707"><div class="ttname"><a href="group__sub_group.html#gaca6262e2ef842caa701a9f233db72707">natsSubscription_GetPending</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsSubscription_GetPending(natsSubscription *sub, int *msgs, int *bytes)</div><div class="ttdoc">Returns the number of pending messages and bytes. </div></div>
<div class="ttc" id="group__conn_mgt_group_html_ga530f0f1c75c58a81aae1a59f15b46d9f"><div class="ttname"><a href="group__conn_mgt_group.html#ga530f0f1c75c58a81aae1a59f15b46d9f">natsConnection_IsClosed</a></div><div class="ttdeci">NATS_EXTERN bool natsConnection_IsClosed(natsConnection *nc)</div><div class="ttdoc">Test if connection has been closed. </div></div>
<div class="ttc" id="group__stan_sub_opts_group_html_ga6cb7f6e1ac697d16959f9042eeb84dc1"><div class="ttname"><a href="group__stan_sub_opts_group.html#ga6cb7f6e1ac697d16959f9042eeb84dc1">stanSubOptions_StartAtSequence</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanSubOptions_StartAtSequence(stanSubOptions *opts, uint64_t seq)</div><div class="ttdoc">Sets the desired start position based on the given sequence number. </div></div>
<div class="ttc" id="group__library_group_html_gad5040264cd4b1404956babf3c03a4f09"><div class="ttname"><a href="group__library_group.html#gad5040264cd4b1404956babf3c03a4f09">nats_Sleep</a></div><div class="ttdeci">NATS_EXTERN void nats_Sleep(int64_t sleepTime)</div><div class="ttdoc">Sleeps for a given number of milliseconds. </div></div>
<div class="ttc" id="group__conn_sub_group_html_ga68630ea7c4bbdc7f8cd62058b41fb476"><div class="ttname"><a href="group__conn_sub_group.html#ga68630ea7c4bbdc7f8cd62058b41fb476">natsConnection_QueueSubscribeSync</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_QueueSubscribeSync(natsSubscription **sub, natsConnection *nc, const char *subject, const char *queueGroup)</div><div class="ttdoc">Creates a synchronous queue subscriber. </div></div>
<div class="ttc" id="group__stan_sub_opts_group_html_ga856a74e31f3307faf988747c1f88717c"><div class="ttname"><a href="group__stan_sub_opts_group.html#ga856a74e31f3307faf988747c1f88717c">stanSubOptions_StartWithLastReceived</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanSubOptions_StartWithLastReceived(stanSubOptions *opts)</div><div class="ttdoc">The subscription should start with the last message in the channel. </div></div>
<div class="ttc" id="group__types_group_html_ga87158ec63b4f90f69e20451624ea01d8"><div class="ttname"><a href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a></div><div class="ttdeci">struct __natsSubscription natsSubscription</div><div class="ttdoc">Interest on a given subject. </div><div class="ttdef"><b>Definition:</b> nats.h:115</div></div>
<div class="ttc" id="group__msg_group_html_ga098e4fec1c5a71c00a0d092fbd6d1a21"><div class="ttname"><a href="group__msg_group.html#ga098e4fec1c5a71c00a0d092fbd6d1a21">natsMsg_Create</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsMsg_Create(natsMsg **newMsg, const char *subj, const char *reply, const char *data, int dataLen)</div><div class="ttdoc">Creates a natsMsg object. </div></div>
<div class="ttc" id="group__conn_sub_group_html_ga96fa115fd5b2ef7658884da80714b91c"><div class="ttname"><a href="group__conn_sub_group.html#ga96fa115fd5b2ef7658884da80714b91c">natsConnection_QueueSubscribeTimeout</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_QueueSubscribeTimeout(natsSubscription **sub, natsConnection *nc, const char *subject, const char *queueGroup, int64_t timeout, natsMsgHandler cb, void *cbClosure)</div><div class="ttdoc">Creates an asynchronous queue subscriber with a timeout. </div></div>
<div class="ttc" id="group__library_group_html_gae75131e0ce4e5b89d0f82ea7892f112e"><div class="ttname"><a href="group__library_group.html#gae75131e0ce4e5b89d0f82ea7892f112e">nats_Close</a></div><div class="ttdeci">NATS_EXTERN void nats_Close(void)</div><div class="ttdoc">Tear down the library. </div></div>
<div class="ttc" id="group__stan_conn_mgt_group_html_ga35e0e6e5e3b7f3818a3ac3600efb8f8f"><div class="ttname"><a href="group__stan_conn_mgt_group.html#ga35e0e6e5e3b7f3818a3ac3600efb8f8f">stanConnection_Connect</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanConnection_Connect(stanConnection **sc, const char *clusterID, const char *clientID, stanConnOptions *options)</div><div class="ttdoc">Connects to a NATS Streaming Server using the provided options. </div></div>
<div class="ttc" id="group__conn_mgt_group_html_gadafcfeeeac2733c7119981ab97b7103d"><div class="ttname"><a href="group__conn_mgt_group.html#gadafcfeeeac2733c7119981ab97b7103d">natsConnection_GetClientIP</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_GetClientIP(natsConnection *nc, char **ip)</div><div class="ttdoc">Returns the client&amp;#39;s IP address as reported by the server. </div></div>
<div class="ttc" id="group__opts_group_html_gaaff89c3f41627f4b2929dbc9b82d265b"><div class="ttname"><a href="group__opts_group.html#gaaff89c3f41627f4b2929dbc9b82d265b">natsOptions_SetMaxPingsOut</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetMaxPingsOut(natsOptions *opts, int maxPingsOut)</div><div class="ttdoc">Sets the limit of outstanding PINGs without corresponding PONGs. </div></div>
<div class="ttc" id="group__conn_mgt_group_html_ga15a0f8aa9a6f621535d01593a4c8edd5"><div class="ttname"><a href="group__conn_mgt_group.html#ga15a0f8aa9a6f621535d01593a4c8edd5">natsConnection_IsDraining</a></div><div class="ttdeci">bool natsConnection_IsDraining(natsConnection *nc)</div><div class="ttdoc">Test if connection is draining. </div></div>
<div class="ttc" id="group__opts_group_html_ga70aa85319933d78c0076cc862fa3e5a6"><div class="ttname"><a href="group__opts_group.html#ga70aa85319933d78c0076cc862fa3e5a6">natsOptions_UseOldRequestStyle</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_UseOldRequestStyle(natsOptions *opts, bool useOldStyle)</div><div class="ttdoc">Switches the use of old style requests. </div></div>
<div class="ttc" id="group__stan_conn_mgt_group_html_ga166ec494a55c9b1f9ebafd2294e05ff6"><div class="ttname"><a href="group__stan_conn_mgt_group.html#ga166ec494a55c9b1f9ebafd2294e05ff6">stanConnection_GetNATSConnection</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanConnection_GetNATSConnection(stanConnection *sc, natsConnection **nc)</div><div class="ttdoc">Returns the underlying NATS Connection. </div></div>
<div class="ttc" id="group__conn_mgt_group_html_ga68821a8ae1176096b5afef7fdc7947ec"><div class="ttname"><a href="group__conn_mgt_group.html#ga68821a8ae1176096b5afef7fdc7947ec">natsConnection_GetStats</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_GetStats(natsConnection *nc, natsStatistics *stats)</div><div class="ttdoc">Gets the connection statistics. </div></div>
<div class="ttc" id="group__types_group_html_ga2cf5db7703b42d97abe56a3e83b2a87d"><div class="ttname"><a href="group__types_group.html#ga2cf5db7703b42d97abe56a3e83b2a87d">stanMsg</a></div><div class="ttdeci">struct __stanMsg stanMsg</div><div class="ttdoc">The Streaming message. </div><div class="ttdef"><b>Definition:</b> nats.h:156</div></div>
<div class="ttc" id="group__opts_group_html_ga4f694b87039cedaa65cd25656b14d1a3"><div class="ttname"><a href="group__opts_group.html#ga4f694b87039cedaa65cd25656b14d1a3">natsOptions_SetNoEcho</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetNoEcho(natsOptions *opts, bool noEcho)</div><div class="ttdoc">Sets if connection receives its own messages. </div></div>
<div class="ttc" id="group__sub_group_html_ga8a37b2d5290da3aecc05483d79e7e254"><div class="ttname"><a href="group__sub_group.html#ga8a37b2d5290da3aecc05483d79e7e254">natsSubscription_QueuedMsgs</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsSubscription_QueuedMsgs(natsSubscription *sub, uint64_t *queuedMsgs)</div><div class="ttdoc">Gets the number of pending messages. </div></div>
<div class="ttc" id="group__stan_sub_opts_group_html_ga6f49ae2629e49d2bfa35990cf030bf83"><div class="ttname"><a href="group__stan_sub_opts_group.html#ga6f49ae2629e49d2bfa35990cf030bf83">stanSubOptions_SetManualAckMode</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanSubOptions_SetManualAckMode(stanSubOptions *opts, bool manual)</div><div class="ttdoc">Sets the subscription&amp;#39;s acknowledgment mode. </div></div>
<div class="ttc" id="group__callbacks_group_html_ga3353d4b92851c52121f65aaf0684cba4"><div class="ttname"><a href="group__callbacks_group.html#ga3353d4b92851c52121f65aaf0684cba4">natsCustomReconnectDelayHandler</a></div><div class="ttdeci">int64_t(* natsCustomReconnectDelayHandler)(natsConnection *nc, int attempts, void *closure)</div><div class="ttdoc">Callback used to specify how long to wait between reconnects. </div><div class="ttdef"><b>Definition:</b> nats.h:382</div></div>
<div class="ttc" id="group__conn_mgt_group_html_ga5aa349fc3895dde772671b324b07a688"><div class="ttname"><a href="group__conn_mgt_group.html#ga5aa349fc3895dde772671b324b07a688">natsConnection_IsReconnecting</a></div><div class="ttdeci">NATS_EXTERN bool natsConnection_IsReconnecting(natsConnection *nc)</div><div class="ttdoc">Test if connection is reconnecting. </div></div>
<div class="ttc" id="group__opts_group_html_ga0ba43ba9930df385e4781b12be9f2851"><div class="ttname"><a href="group__opts_group.html#ga0ba43ba9930df385e4781b12be9f2851">natsOptions_SetExpectedHostname</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetExpectedHostname(natsOptions *opts, const char *hostname)</div><div class="ttdoc">Sets the server certificate&amp;#39;s expected hostname. </div></div>
<div class="ttc" id="group__stan_conn_pub_group_html_ga0c4d1e4615f8ac834f0a4021f75d39f0"><div class="ttname"><a href="group__stan_conn_pub_group.html#ga0c4d1e4615f8ac834f0a4021f75d39f0">stanConnection_PublishAsync</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanConnection_PublishAsync(stanConnection *sc, const char *channel, const void *data, int dataLen, stanPubAckHandler ah, void *ahClosure)</div><div class="ttdoc">Asynchronously publishes data on a channel. </div></div>
<div class="ttc" id="group__stan_conn_opts_group_html_gad835223f08fbeae2a3c7a34d3fa1550b"><div class="ttname"><a href="group__stan_conn_opts_group.html#gad835223f08fbeae2a3c7a34d3fa1550b">stanConnOptions_SetPings</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanConnOptions_SetPings(stanConnOptions *opts, int interval, int maxOut)</div><div class="ttdoc">Sets the ping interval and max out values. </div></div>
<div class="ttc" id="group__conn_pub_group_html_ga4bb5105df6a3efd2088e6be0fdf6b31f"><div class="ttname"><a href="group__conn_pub_group.html#ga4bb5105df6a3efd2088e6be0fdf6b31f">natsConnection_RequestString</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_RequestString(natsMsg **replyMsg, natsConnection *nc, const char *subj, const char *str, int64_t timeout)</div><div class="ttdoc">Sends a request (as a string) and waits for a reply. </div></div>
<div class="ttc" id="group__conn_mgt_group_html_ga0433159e518540ff874c4026fe9cd0c5"><div class="ttname"><a href="group__conn_mgt_group.html#ga0433159e518540ff874c4026fe9cd0c5">natsConnection_Buffered</a></div><div class="ttdeci">NATS_EXTERN int natsConnection_Buffered(natsConnection *nc)</div><div class="ttdoc">Returns the number of bytes to be sent to the server. </div></div>
<div class="ttc" id="group__sub_group_html_ga786bb458981274fe717f266bd3b96d96"><div class="ttname"><a href="group__sub_group.html#ga786bb458981274fe717f266bd3b96d96">natsSubscription_GetPendingLimits</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsSubscription_GetPendingLimits(natsSubscription *sub, int *msgLimit, int *bytesLimit)</div><div class="ttdoc">Returns the current limit for pending messages and bytes. </div></div>
<div class="ttc" id="group__sub_group_html_ga476b7276d0b7f9946834d2bb2423e955"><div class="ttname"><a href="group__sub_group.html#ga476b7276d0b7f9946834d2bb2423e955">natsSubscription_GetDelivered</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsSubscription_GetDelivered(natsSubscription *sub, int64_t *msgs)</div><div class="ttdoc">Returns the number of delivered messages. </div></div>
<div class="ttc" id="group__callbacks_group_html_ga9e511dffa471dfb971b7dd2b12329626"><div class="ttname"><a href="group__callbacks_group.html#ga9e511dffa471dfb971b7dd2b12329626">natsErrHandler</a></div><div class="ttdeci">void(* natsErrHandler)(natsConnection *nc, natsSubscription *subscription, natsStatus err, void *closure)</div><div class="ttdoc">Callback used to notify the user of errors encountered while processing inbound messages. </div><div class="ttdef"><b>Definition:</b> nats.h:224</div></div>
<div class="ttc" id="group__library_group_html_gafe171baefa00a85b77205116e9f3e48a"><div class="ttname"><a href="group__library_group.html#gafe171baefa00a85b77205116e9f3e48a">nats_ReleaseThreadMemory</a></div><div class="ttdeci">NATS_EXTERN void nats_ReleaseThreadMemory(void)</div><div class="ttdoc">Release thread-local memory possibly allocated by the library. </div></div>
<div class="ttc" id="group__conn_mgt_group_html_gad81b603b84c0180aefc6d5ebad7f2a47"><div class="ttname"><a href="group__conn_mgt_group.html#gad81b603b84c0180aefc6d5ebad7f2a47">natsConnection_ProcessWriteEvent</a></div><div class="ttdeci">NATS_EXTERN void natsConnection_ProcessWriteEvent(natsConnection *nc)</div><div class="ttdoc">Process a write event when using external event loop. </div></div>
<div class="ttc" id="group__types_group_html_ga57a4b8c7109e2773878655722ce028aa"><div class="ttname"><a href="group__types_group.html#ga57a4b8c7109e2773878655722ce028aa">natsStatistics</a></div><div class="ttdeci">struct __natsStatistics natsStatistics</div><div class="ttdoc">Statistics of a natsConnection. </div><div class="ttdef"><b>Definition:</b> nats.h:109</div></div>
<div class="ttc" id="group__sub_group_html_gaee87f8be0e6c2a4693ba2cea070583ba"><div class="ttname"><a href="group__sub_group.html#gaee87f8be0e6c2a4693ba2cea070583ba">natsSubscription_Unsubscribe</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsSubscription_Unsubscribe(natsSubscription *sub)</div><div class="ttdoc">Unsubscribes. </div></div>
<div class="ttc" id="group__stan_conn_opts_group_html_gaff52a1ce90253b4bdbb0005fca4f71b6"><div class="ttname"><a href="group__stan_conn_opts_group.html#gaff52a1ce90253b4bdbb0005fca4f71b6">stanConnOptions_Create</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanConnOptions_Create(stanConnOptions **newOpts)</div><div class="ttdoc">Creates a stanConnOptions object. </div></div>
<div class="ttc" id="group__msg_group_html_gae4338b582ab420cf6d8373bef8cffd75"><div class="ttname"><a href="group__msg_group.html#gae4338b582ab420cf6d8373bef8cffd75">natsMsg_GetSubject</a></div><div class="ttdeci">NATS_EXTERN const char * natsMsg_GetSubject(const natsMsg *msg)</div><div class="ttdoc">Returns the subject set in this message. </div></div>
<div class="ttc" id="group__conn_mgt_group_html_ga747513ba6ab63fdf9a72bfc8025a14ba"><div class="ttname"><a href="group__conn_mgt_group.html#ga747513ba6ab63fdf9a72bfc8025a14ba">natsConnection_GetClientID</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_GetClientID(natsConnection *nc, uint64_t *cid)</div><div class="ttdoc">Gets the current client ID assigned by the server. </div></div>
<div class="ttc" id="group__opts_group_html_ga3d1d3cb2f2a0e23d27dd60e96d1cc91b"><div class="ttname"><a href="group__opts_group.html#ga3d1d3cb2f2a0e23d27dd60e96d1cc91b">natsOptions_SetAllowReconnect</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetAllowReconnect(natsOptions *opts, bool allow)</div><div class="ttdoc">Indicates if the connection will be allowed to reconnect. </div></div>
<div class="ttc" id="group__stan_conn_opts_group_html_ga83fd0a29b136cbfb643be642eb2fa726"><div class="ttname"><a href="group__stan_conn_opts_group.html#ga83fd0a29b136cbfb643be642eb2fa726">stanConnOptions_Destroy</a></div><div class="ttdeci">NATS_EXTERN void stanConnOptions_Destroy(stanConnOptions *opts)</div><div class="ttdoc">Destroys a stanConnOptions object. </div></div>
<div class="ttc" id="group__callbacks_group_html_gab786ffd670c86de0563559351305080b"><div class="ttname"><a href="group__callbacks_group.html#gab786ffd670c86de0563559351305080b">natsSignatureHandler</a></div><div class="ttdeci">natsStatus(* natsSignatureHandler)(char **customErrTxt, unsigned char **signature, int *signatureLength, const char *nonce, void *closure)</div><div class="ttdoc">Callback used to sign a nonce sent by the server. </div><div class="ttdef"><b>Definition:</b> nats.h:335</div></div>
<div class="ttc" id="group__opts_group_html_ga8f06568cc3319a5a0eef9f80282034ca"><div class="ttname"><a href="group__opts_group.html#ga8f06568cc3319a5a0eef9f80282034ca">natsOptions_SetSendAsap</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetSendAsap(natsOptions *opts, bool sendAsap)</div><div class="ttdoc">Sets if Publish calls should send data right away. </div></div>
<div class="ttc" id="group__conn_mgt_group_html_ga1c98f8d89bb8e20ea8621e860a90267f"><div class="ttname"><a href="group__conn_mgt_group.html#ga1c98f8d89bb8e20ea8621e860a90267f">natsConnection_Flush</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_Flush(natsConnection *nc)</div><div class="ttdoc">Flushes the connection. </div></div>
<div class="ttc" id="group__conn_mgt_group_html_gaf623280407c43ade02285005f0642e6d"><div class="ttname"><a href="group__conn_mgt_group.html#gaf623280407c43ade02285005f0642e6d">natsConnection_GetConnectedUrl</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_GetConnectedUrl(natsConnection *nc, char *buffer, size_t bufferSize)</div><div class="ttdoc">Gets the URL of the currently connected server. </div></div>
<div class="ttc" id="group__opts_group_html_ga95510436eee06f9992ded96a44795c40"><div class="ttname"><a href="group__opts_group.html#ga95510436eee06f9992ded96a44795c40">natsOptions_SetMaxPendingMsgs</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetMaxPendingMsgs(natsOptions *opts, int maxPending)</div><div class="ttdoc">Sets the maximum number of pending messages per subscription. </div></div>
<div class="ttc" id="group__conn_mgt_group_html_ga6960cfdbaac3b8759784f352d4c264f8"><div class="ttname"><a href="group__conn_mgt_group.html#ga6960cfdbaac3b8759784f352d4c264f8">natsConnection_Sign</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_Sign(natsConnection *nc, const unsigned char *message, int messageLen, unsigned char sig[64])</div><div class="ttdoc">Signs any &amp;#39;message&amp;#39; using the connection&amp;#39;s user credentials. </div></div>
<div class="ttc" id="group__library_group_html_ga8c2ad4df801bd9d11564587ed3a7081e"><div class="ttname"><a href="group__library_group.html#ga8c2ad4df801bd9d11564587ed3a7081e">nats_CheckCompatibility</a></div><div class="ttdeci">NATS_EXTERN bool nats_CheckCompatibility(void)</div><div class="ttdoc">Check that the header is compatible with the library. </div></div>
<div class="ttc" id="group__stan_sub_group_html_gafa428a7e0f6800216cb06fd738bd235e"><div class="ttname"><a href="group__stan_sub_group.html#gafa428a7e0f6800216cb06fd738bd235e">stanSubscription_Unsubscribe</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanSubscription_Unsubscribe(stanSubscription *sub)</div><div class="ttdoc">Permanently remove a subscription. </div></div>
<div class="ttc" id="group__conn_mgt_group_html_ga761095a42374b4dafa178df7d7652dd5"><div class="ttname"><a href="group__conn_mgt_group.html#ga761095a42374b4dafa178df7d7652dd5">natsConnection_GetLocalIPAndPort</a></div><div class="ttdeci">natsStatus natsConnection_GetLocalIPAndPort(natsConnection *nc, char **ip, int *port)</div><div class="ttdoc">Returns the connection local IP and port. </div></div>
<div class="ttc" id="group__stan_sub_opts_group_html_ga35efbdea888e00440c500845064931c0"><div class="ttname"><a href="group__stan_sub_opts_group.html#ga35efbdea888e00440c500845064931c0">stanSubOptions_SetMaxInflight</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanSubOptions_SetMaxInflight(stanSubOptions *opts, int maxInflight)</div><div class="ttdoc">Sets the the maximum number of messages the cluster will send without an ACK. </div></div>
<div class="ttc" id="group__conn_pub_group_html_ga74511acd87385931112c45c48c2a14ba"><div class="ttname"><a href="group__conn_pub_group.html#ga74511acd87385931112c45c48c2a14ba">natsConnection_PublishMsg</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_PublishMsg(natsConnection *nc, natsMsg *msg)</div><div class="ttdoc">Publishes a message on a subject. </div></div>
<div class="ttc" id="group__conn_pub_group_html_gaaaa3d75ffec2dcdc6bf905cdb1eee59e"><div class="ttname"><a href="group__conn_pub_group.html#gaaaa3d75ffec2dcdc6bf905cdb1eee59e">natsConnection_PublishRequest</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_PublishRequest(natsConnection *nc, const char *subj, const char *reply, const void *data, int dataLen)</div><div class="ttdoc">Publishes data on a subject expecting replies on the given reply. </div></div>
<div class="ttc" id="group__opts_group_html_gab54cd2719c0b64eebd6c7b83dd2908a0"><div class="ttname"><a href="group__opts_group.html#gab54cd2719c0b64eebd6c7b83dd2908a0">natsOptions_SetMaxReconnect</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetMaxReconnect(natsOptions *opts, int maxReconnect)</div><div class="ttdoc">Sets the maximum number of reconnect attempts. </div></div>
<div class="ttc" id="status_8h_html_a36c934157b663b7b5fb5d6609c897c80"><div class="ttname"><a href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="ttdeci">natsStatus</div><div class="ttdoc">Status returned by most of the APIs. </div><div class="ttdef"><b>Definition:</b> status.h:49</div></div>
<div class="ttc" id="group__conn_sub_group_html_ga17574d5165f7e285462e3d3b2709edf4"><div class="ttname"><a href="group__conn_sub_group.html#ga17574d5165f7e285462e3d3b2709edf4">natsConnection_SubscribeSync</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_SubscribeSync(natsSubscription **sub, natsConnection *nc, const char *subject)</div><div class="ttdoc">Creates a synchronous subcription. </div></div>
<div class="ttc" id="group__callbacks_group_html_ga2bb5dd2d821ca5bbc0488f7e6aceed17"><div class="ttname"><a href="group__callbacks_group.html#ga2bb5dd2d821ca5bbc0488f7e6aceed17">natsEvLoop_WriteAddRemove</a></div><div class="ttdeci">natsStatus(* natsEvLoop_WriteAddRemove)(void *userData, bool add)</div><div class="ttdoc">Write event needs to be added or removed. </div><div class="ttdef"><b>Definition:</b> nats.h:269</div></div>
<div class="ttc" id="group__opts_group_html_gaa16bfd09ef318af18c27a0e199681b69"><div class="ttname"><a href="group__opts_group.html#gaa16bfd09ef318af18c27a0e199681b69">natsOptions_SetVerbose</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetVerbose(natsOptions *opts, bool verbose)</div><div class="ttdoc">Sets the verbose mode. </div></div>
<div class="ttc" id="group__stan_conn_sub_group_html_ga17d42bf9a4fa39470561a1a668e6b4a2"><div class="ttname"><a href="group__stan_conn_sub_group.html#ga17d42bf9a4fa39470561a1a668e6b4a2">stanConnection_QueueSubscribe</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanConnection_QueueSubscribe(stanSubscription **sub, stanConnection *sc, const char *channel, const char *queueGroup, stanMsgHandler cb, void *cbClosure, stanSubOptions *options)</div><div class="ttdoc">Creates a queue subscription. </div></div>
<div class="ttc" id="group__status_group_html_ga0f7a5e105311800d957ae7b28d1ab752"><div class="ttname"><a href="group__status_group.html#ga0f7a5e105311800d957ae7b28d1ab752">natsStatus_GetText</a></div><div class="ttdeci">NATS_EXTERN const char * natsStatus_GetText(natsStatus s)</div><div class="ttdoc">Get the text corresponding to a natsStatus. </div></div>
<div class="ttc" id="group__opts_group_html_ga6f804ec44adc299989fe623570679da3"><div class="ttname"><a href="group__opts_group.html#ga6f804ec44adc299989fe623570679da3">natsOptions_SkipServerVerification</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SkipServerVerification(natsOptions *opts, bool skip)</div><div class="ttdoc">Switch server certificate verification. </div></div>
<div class="ttc" id="group__conn_mgt_group_html_gae06fe6f5933f216d6d93645a122a7dd4"><div class="ttname"><a href="group__conn_mgt_group.html#gae06fe6f5933f216d6d93645a122a7dd4">natsConnection_DrainTimeout</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_DrainTimeout(natsConnection *nc, int64_t timeout)</div><div class="ttdoc">Drains the connection with given timeout. </div></div>
<div class="ttc" id="group__types_group_html_gabcc48b40a81fe302188f4ee06ea9c54e"><div class="ttname"><a href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a></div><div class="ttdeci">struct __natsOptions natsOptions</div><div class="ttdoc">Way to configure a natsConnection. </div><div class="ttdef"><b>Definition:</b> nats.h:128</div></div>
<div class="ttc" id="group__callbacks_group_html_ga245131e64f1d0dff7edc8ed874a07e9a"><div class="ttname"><a href="group__callbacks_group.html#ga245131e64f1d0dff7edc8ed874a07e9a">natsOnCompleteCB</a></div><div class="ttdeci">void(* natsOnCompleteCB)(void *closure)</div><div class="ttdoc">Callback used to notify that an object lifecycle is complete. </div><div class="ttdef"><b>Definition:</b> nats.h:360</div></div>
<div class="ttc" id="group__conn_mgt_group_html_ga19e204d27a232e2d4334301fc002b2ed"><div class="ttname"><a href="group__conn_mgt_group.html#ga19e204d27a232e2d4334301fc002b2ed">natsConnection_Close</a></div><div class="ttdeci">NATS_EXTERN void natsConnection_Close(natsConnection *nc)</div><div class="ttdoc">Closes the connection. </div></div>
<div class="ttc" id="group__stan_sub_opts_group_html_ga27d9175901997b8468997019746599b5"><div class="ttname"><a href="group__stan_sub_opts_group.html#ga27d9175901997b8468997019746599b5">stanSubOptions_StartAtTimeDelta</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanSubOptions_StartAtTimeDelta(stanSubOptions *opts, int64_t delta)</div><div class="ttdoc">Sets the desired start position based on the given delta. </div></div>
<div class="ttc" id="group__opts_group_html_ga3f7e760214417c7d87541ecb9ab5bea5"><div class="ttname"><a href="group__opts_group.html#ga3f7e760214417c7d87541ecb9ab5bea5">natsOptions_SetURL</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetURL(natsOptions *opts, const char *url)</div><div class="ttdoc">Sets the URL to connect to. </div></div>
<div class="ttc" id="group__library_group_html_ga5fab3b18c4fe3630254483575f6066f4"><div class="ttname"><a href="group__library_group.html#ga5fab3b18c4fe3630254483575f6066f4">nats_PrintLastErrorStack</a></div><div class="ttdeci">NATS_EXTERN void nats_PrintLastErrorStack(FILE *file)</div><div class="ttdoc">Prints the calling thread&amp;#39;s last known error stack into the file. </div></div>
<div class="ttc" id="group__stan_conn_opts_group_html_ga19ba15c8001aa835b261eea3a309e6d3"><div class="ttname"><a href="group__stan_conn_opts_group.html#ga19ba15c8001aa835b261eea3a309e6d3">stanConnOptions_SetConnectionLostHandler</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanConnOptions_SetConnectionLostHandler(stanConnOptions *opts, stanConnectionLostHandler handler, void *closure)</div><div class="ttdoc">Sets the connection lost handler. </div></div>
<div class="ttc" id="group__opts_group_html_ga54dea2ffeb33779771652a7a14fc4adc"><div class="ttname"><a href="group__opts_group.html#ga54dea2ffeb33779771652a7a14fc4adc">natsOptions_SetLameDuckModeCB</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetLameDuckModeCB(natsOptions *opts, natsConnectionHandler lameDuckCb, void *closure)</div><div class="ttdoc">Sets the callback to be invoked when server enters lame duck mode. </div></div>
<div class="ttc" id="group__opts_group_html_gabf060c92648b50c069f0abe7cbb06f1c"><div class="ttname"><a href="group__opts_group.html#gabf060c92648b50c069f0abe7cbb06f1c">natsOptions_UseGlobalMessageDelivery</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_UseGlobalMessageDelivery(natsOptions *opts, bool global)</div><div class="ttdoc">Switch on/off the use of a central message delivery thread pool. </div></div>
<div class="ttc" id="group__conn_mgt_group_html_gafb83c8d7970ba68be0e6c40c38cdfde4"><div class="ttname"><a href="group__conn_mgt_group.html#gafb83c8d7970ba68be0e6c40c38cdfde4">natsConnection_ConnectTo</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_ConnectTo(natsConnection **nc, const char *urls)</div><div class="ttdoc">Connects to a NATS Server using any of the URL from the given list. </div></div>
<div class="ttc" id="group__sub_group_html_ga12b60cdb3aca7329edebc480ae86bfab"><div class="ttname"><a href="group__sub_group.html#ga12b60cdb3aca7329edebc480ae86bfab">natsSubscription_GetStats</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsSubscription_GetStats(natsSubscription *sub, int *pendingMsgs, int *pendingBytes, int *maxPendingMsgs, int *maxPendingBytes, int64_t *deliveredMsgs, int64_t *droppedMsgs)</div><div class="ttdoc">Get various statistics from this subscription. </div></div>
<div class="ttc" id="group__stan_conn_opts_group_html_ga3c6d511fc1e1febcdf5344960de5a0b3"><div class="ttname"><a href="group__stan_conn_opts_group.html#ga3c6d511fc1e1febcdf5344960de5a0b3">stanConnOptions_SetURL</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanConnOptions_SetURL(stanConnOptions *opts, const char *url)</div><div class="ttdoc">Sets the URL to connect to. </div></div>
<div class="ttc" id="group__stan_msg_group_html_ga98b66ff73447e1d7e329edbfcde782b5"><div class="ttname"><a href="group__stan_msg_group.html#ga98b66ff73447e1d7e329edbfcde782b5">stanMsg_GetSequence</a></div><div class="ttdeci">NATS_EXTERN uint64_t stanMsg_GetSequence(const stanMsg *msg)</div><div class="ttdoc">Returns the message&amp;#39;s sequence number. </div></div>
<div class="ttc" id="nats_8h_html_af798865ac824e5959987de0fe8d07383"><div class="ttname"><a href="nats_8h.html#af798865ac824e5959987de0fe8d07383">natsSock</a></div><div class="ttdeci">int natsSock</div><div class="ttdef"><b>Definition:</b> nats.h:50</div></div>
<div class="ttc" id="group__conn_sub_group_html_ga3c9fee2775130786ef62f1cbeb191a48"><div class="ttname"><a href="group__conn_sub_group.html#ga3c9fee2775130786ef62f1cbeb191a48">natsConnection_QueueSubscribe</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_QueueSubscribe(natsSubscription **sub, natsConnection *nc, const char *subject, const char *queueGroup, natsMsgHandler cb, void *cbClosure)</div><div class="ttdoc">Creates an asynchronous queue subscriber. </div></div>
<div class="ttc" id="group__inbox_group_html_gabd6444fb8f28afb9c2b6645945f46cfe"><div class="ttname"><a href="group__inbox_group.html#gabd6444fb8f28afb9c2b6645945f46cfe">natsInbox_Destroy</a></div><div class="ttdeci">NATS_EXTERN void natsInbox_Destroy(natsInbox *inbox)</div><div class="ttdoc">Destroys the inbox. </div></div>
<div class="ttc" id="group__conn_mgt_group_html_gad765b80ae8e1a06a7a942cccf29f042a"><div class="ttname"><a href="group__conn_mgt_group.html#gad765b80ae8e1a06a7a942cccf29f042a">natsConnection_HasHeaderSupport</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_HasHeaderSupport(natsConnection *nc)</div><div class="ttdoc">Returns if the connection to current server supports headers. </div></div>
<div class="ttc" id="group__types_group_html_ga13d64411878ba13a6ca39c915f2447c1"><div class="ttname"><a href="group__types_group.html#ga13d64411878ba13a6ca39c915f2447c1">stanConnOptions</a></div><div class="ttdeci">struct __stanConnOptions stanConnOptions</div><div class="ttdoc">Way to configure a stanConnection. </div><div class="ttdef"><b>Definition:</b> nats.h:162</div></div>
<div class="ttc" id="group__opts_group_html_ga17cd7fe41176cd98aca1184fa9352ad9"><div class="ttname"><a href="group__opts_group.html#ga17cd7fe41176cd98aca1184fa9352ad9">natsOptions_SetTimeout</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetTimeout(natsOptions *opts, int64_t timeout)</div><div class="ttdoc">Sets the (re)connect process timeout. </div></div>
<div class="ttc" id="group__conn_mgt_group_html_ga68e7149f7ff1cc4989b3f795fa7e76d9"><div class="ttname"><a href="group__conn_mgt_group.html#ga68e7149f7ff1cc4989b3f795fa7e76d9">natsConnection_GetMaxPayload</a></div><div class="ttdeci">NATS_EXTERN int64_t natsConnection_GetMaxPayload(natsConnection *nc)</div><div class="ttdoc">Returns the maximum message payload. </div></div>
<div class="ttc" id="group__msg_group_html_gae1ce9c9d82d151a3ea9dc03da048f66f"><div class="ttname"><a href="group__msg_group.html#gae1ce9c9d82d151a3ea9dc03da048f66f">natsMsgHeader_Values</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsMsgHeader_Values(natsMsg *msg, const char *key, const char ***values, int *count)</div><div class="ttdoc">Get all header values associated with key. </div></div>
<div class="ttc" id="group__callbacks_group_html_gab63dee7f7012ba11ae20b76dbc36f2d0"><div class="ttname"><a href="group__callbacks_group.html#gab63dee7f7012ba11ae20b76dbc36f2d0">natsEvLoop_Detach</a></div><div class="ttdeci">natsStatus(* natsEvLoop_Detach)(void *userData)</div><div class="ttdoc">Detach from the event loop. </div><div class="ttdef"><b>Definition:</b> nats.h:280</div></div>
<div class="ttc" id="group__callbacks_group_html_gacdef6aff3e47953f19e35857ab8e274c"><div class="ttname"><a href="group__callbacks_group.html#gacdef6aff3e47953f19e35857ab8e274c">natsConnectionHandler</a></div><div class="ttdeci">void(* natsConnectionHandler)(natsConnection *nc, void *closure)</div><div class="ttdoc">Callback used to notify the user of asynchronous connection events. </div><div class="ttdef"><b>Definition:</b> nats.h:215</div></div>
<div class="ttc" id="group__library_group_html_ga5fbbaa19b0290b654d2669a05bd512e8"><div class="ttname"><a href="group__library_group.html#ga5fbbaa19b0290b654d2669a05bd512e8">nats_GetVersionNumber</a></div><div class="ttdeci">NATS_EXTERN uint32_t nats_GetVersionNumber(void)</div><div class="ttdoc">Returns the Library&amp;#39;s version as a number. </div></div>
<div class="ttc" id="group__sub_group_html_ga0abc5d9afbc6b0c9c5adaf533904c968"><div class="ttname"><a href="group__sub_group.html#ga0abc5d9afbc6b0c9c5adaf533904c968">natsSubscription_GetMaxPending</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsSubscription_GetMaxPending(natsSubscription *sub, int *msgs, int *bytes)</div><div class="ttdoc">Returns the maximum number of pending messages and bytes. </div></div>
<div class="ttc" id="group__opts_group_html_gadef4376a5e608cbc8c1a9e2b6335dc79"><div class="ttname"><a href="group__opts_group.html#gadef4376a5e608cbc8c1a9e2b6335dc79">natsOptions_SetFailRequestsOnDisconnect</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetFailRequestsOnDisconnect(natsOptions *opts, bool failRequests)</div><div class="ttdoc">Fails pending requests on disconnect event. </div></div>
<div class="ttc" id="group__stan_sub_opts_group_html_gafbb4e6c74978c4e8f30f016c20cc2bdf"><div class="ttname"><a href="group__stan_sub_opts_group.html#gafbb4e6c74978c4e8f30f016c20cc2bdf">stanSubOptions_SetAckWait</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanSubOptions_SetAckWait(stanSubOptions *opts, int64_t wait)</div><div class="ttdoc">Sets the timeout for waiting for an ACK from the cluster&amp;#39;s point of view for delivered messages...</div></div>
<div class="ttc" id="group__opts_group_html_gab5baab507c974402ab0d8c5e8227ee65"><div class="ttname"><a href="group__opts_group.html#gab5baab507c974402ab0d8c5e8227ee65">natsOptions_SetDiscoveredServersCB</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetDiscoveredServersCB(natsOptions *opts, natsConnectionHandler discoveredServersCb, void *closure)</div><div class="ttdoc">Sets the callback to be invoked when new servers are discovered. </div></div>
<div class="ttc" id="group__sub_group_html_ga0408c9b6e4ad4078ac0267656ace222d"><div class="ttname"><a href="group__sub_group.html#ga0408c9b6e4ad4078ac0267656ace222d">natsSubscription_WaitForDrainCompletion</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsSubscription_WaitForDrainCompletion(natsSubscription *sub, int64_t timeout)</div><div class="ttdoc">Blocks until the drain operation completes. </div></div>
<div class="ttc" id="group__msg_group_html_ga9b33d47bc5ff9fa987dea102b4a0498f"><div class="ttname"><a href="group__msg_group.html#ga9b33d47bc5ff9fa987dea102b4a0498f">natsMsg_GetData</a></div><div class="ttdeci">NATS_EXTERN const char * natsMsg_GetData(const natsMsg *msg)</div><div class="ttdoc">Returns the message payload. </div></div>
<div class="ttc" id="group__conn_mgt_group_html_ga48cee9ea1cdc9fc2770de2f9f0fd1ccf"><div class="ttname"><a href="group__conn_mgt_group.html#ga48cee9ea1cdc9fc2770de2f9f0fd1ccf">natsConnection_GetConnectedServerId</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_GetConnectedServerId(natsConnection *nc, char *buffer, size_t bufferSize)</div><div class="ttdoc">Gets the server Id. </div></div>
<div class="ttc" id="group__conn_sub_group_html_gacb2c83b58b7909715424cbc327fdd404"><div class="ttname"><a href="group__conn_sub_group.html#gacb2c83b58b7909715424cbc327fdd404">natsConnection_SubscribeTimeout</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_SubscribeTimeout(natsSubscription **sub, natsConnection *nc, const char *subject, int64_t timeout, natsMsgHandler cb, void *cbClosure)</div><div class="ttdoc">Creates an asynchronous subscription with a timeout. </div></div>
<div class="ttc" id="group__stan_conn_opts_group_html_ga36f2ee441562dcf619d6e020b823fc96"><div class="ttname"><a href="group__stan_conn_opts_group.html#ga36f2ee441562dcf619d6e020b823fc96">stanConnOptions_SetPubAckWait</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanConnOptions_SetPubAckWait(stanConnOptions *opts, int64_t wait)</div><div class="ttdoc">Sets the timeout for waiting for an ACK for a published message. </div></div>
<div class="ttc" id="group__stan_sub_opts_group_html_ga1b56877d0a6729e148c9c288e2b88e3f"><div class="ttname"><a href="group__stan_sub_opts_group.html#ga1b56877d0a6729e148c9c288e2b88e3f">stanSubOptions_Destroy</a></div><div class="ttdeci">NATS_EXTERN void stanSubOptions_Destroy(stanSubOptions *opts)</div><div class="ttdoc">Destroys a stanSubOptions object. </div></div>
<div class="ttc" id="group__opts_group_html_ga0290eac4665569c850468d9f00e246a0"><div class="ttname"><a href="group__opts_group.html#ga0290eac4665569c850468d9f00e246a0">natsOptions_SetNKey</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetNKey(natsOptions *opts, const char *pubKey, natsSignatureHandler sigCB, void *sigClosure)</div><div class="ttdoc">Sets the NKey public key and signature callback. </div></div>
<div class="ttc" id="group__stan_sub_opts_group_html_gaafd7a553486eea3c9d309da0744a3608"><div class="ttname"><a href="group__stan_sub_opts_group.html#gaafd7a553486eea3c9d309da0744a3608">stanSubOptions_StartAtTime</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanSubOptions_StartAtTime(stanSubOptions *opts, int64_t time)</div><div class="ttdoc">Sets the desired start position based on the given time. </div></div>
<div class="ttc" id="group__conn_mgt_group_html_gad25c77be0873495412c90a73fe450708"><div class="ttname"><a href="group__conn_mgt_group.html#gad25c77be0873495412c90a73fe450708">natsConnection_GetDiscoveredServers</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_GetDiscoveredServers(natsConnection *nc, char ***servers, int *count)</div><div class="ttdoc">Returns the list of discovered server URLs. </div></div>
<div class="ttc" id="group__conn_mgt_group_html_ga33fa209522e5e0226b5b7c7d720a3b98"><div class="ttname"><a href="group__conn_mgt_group.html#ga33fa209522e5e0226b5b7c7d720a3b98">natsConnection_Status</a></div><div class="ttdeci">NATS_EXTERN natsConnStatus natsConnection_Status(natsConnection *nc)</div><div class="ttdoc">Returns the current state of the connection. </div></div>
<div class="ttc" id="group__opts_group_html_gafb30794fc2ae74b9e0bd8fb609b901c8"><div class="ttname"><a href="group__opts_group.html#gafb30794fc2ae74b9e0bd8fb609b901c8">natsOptions_SetCATrustedCertificates</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetCATrustedCertificates(natsOptions *opts, const char *certificates)</div><div class="ttdoc">Sets the trusted CA certificates from memory. </div></div>
<div class="ttc" id="status_8h_html_a6d667c1f8dd289a7e0f39bf10e800b51"><div class="ttname"><a href="status_8h.html#a6d667c1f8dd289a7e0f39bf10e800b51">natsConnStatus</a></div><div class="ttdeci">natsConnStatus</div><div class="ttdoc">The connection state. </div><div class="ttdef"><b>Definition:</b> status.h:23</div></div>
<div class="ttc" id="group__stan_msg_group_html_ga27477570a712b0d6315a823fc400b038"><div class="ttname"><a href="group__stan_msg_group.html#ga27477570a712b0d6315a823fc400b038">stanMsg_GetData</a></div><div class="ttdeci">NATS_EXTERN const char * stanMsg_GetData(const stanMsg *msg)</div><div class="ttdoc">Returns the message payload. </div></div>
<div class="ttc" id="group__opts_group_html_ga1a3e3abfd7ddd8aff247df8f332bbda3"><div class="ttname"><a href="group__opts_group.html#ga1a3e3abfd7ddd8aff247df8f332bbda3">natsOptions_SetIOBufSize</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetIOBufSize(natsOptions *opts, int ioBufSize)</div><div class="ttdoc">Sets the size of the internal read/write buffers. </div></div>
<div class="ttc" id="group__callbacks_group_html_gaea4c125ecfb43eaf43da20e8444c2aaa"><div class="ttname"><a href="group__callbacks_group.html#gaea4c125ecfb43eaf43da20e8444c2aaa">natsEvLoop_ReadAddRemove</a></div><div class="ttdeci">natsStatus(* natsEvLoop_ReadAddRemove)(void *userData, bool add)</div><div class="ttdoc">Read event needs to be added or removed. </div><div class="ttdef"><b>Definition:</b> nats.h:256</div></div>
<div class="ttc" id="group__types_group_html_gae4dae869fb614536f0f027c2e2660cc5"><div class="ttname"><a href="group__types_group.html#gae4dae869fb614536f0f027c2e2660cc5">stanSubscription</a></div><div class="ttdeci">struct __stanSubscription stanSubscription</div><div class="ttdoc">Interest on a given channel. </div><div class="ttdef"><b>Definition:</b> nats.h:150</div></div>
<div class="ttc" id="group__opts_group_html_gaa0d4b7ece8477cb9879f0dafff3456a5"><div class="ttname"><a href="group__opts_group.html#gaa0d4b7ece8477cb9879f0dafff3456a5">natsOptions_SetReconnectBufSize</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetReconnectBufSize(natsOptions *opts, int reconnectBufSize)</div><div class="ttdoc">Sets the size of the backing buffer used during reconnect. </div></div>
<div class="ttc" id="group__stan_conn_opts_group_html_ga07105d1d00878bba19f47243b2c88402"><div class="ttname"><a href="group__stan_conn_opts_group.html#ga07105d1d00878bba19f47243b2c88402">stanConnOptions_SetDiscoveryPrefix</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanConnOptions_SetDiscoveryPrefix(stanConnOptions *opts, const char *prefix)</div><div class="ttdoc">Sets the subject prefix the library sends the connect request to. </div></div>
<div class="ttc" id="group__stats_group_html_gafa923df029168f4991b77ffdd9e24877"><div class="ttname"><a href="group__stats_group.html#gafa923df029168f4991b77ffdd9e24877">natsStatistics_Create</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsStatistics_Create(natsStatistics **newStats)</div><div class="ttdoc">Creates a natsStatistics object. </div></div>
<div class="ttc" id="group__opts_group_html_ga2730f4e16e318a2ef8de98dbf6ede807"><div class="ttname"><a href="group__opts_group.html#ga2730f4e16e318a2ef8de98dbf6ede807">natsOptions_SetReconnectWait</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetReconnectWait(natsOptions *opts, int64_t reconnectWait)</div><div class="ttdoc">Sets the time between reconnect attempts. </div></div>
<div class="ttc" id="group__opts_group_html_ga59b47f7b7a19085cf8eaada9bfe5606e"><div class="ttname"><a href="group__opts_group.html#ga59b47f7b7a19085cf8eaada9bfe5606e">natsOptions_SetUserCredentialsFromFiles</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetUserCredentialsFromFiles(natsOptions *opts, const char *userOrChainedFile, const char *seedFile)</div><div class="ttdoc">Sets the file(s) to use to fetch user JWT and seed required to sign nonce. </div></div>
<div class="ttc" id="group__opts_group_html_ga5b99da7dd74aac3be962f323c3863d9e"><div class="ttname"><a href="group__opts_group.html#ga5b99da7dd74aac3be962f323c3863d9e">natsOptions_SetUserInfo</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetUserInfo(natsOptions *opts, const char *user, const char *password)</div><div class="ttdoc">Sets the user name/password to use when not specified in the URL. </div></div>
<div class="ttc" id="group__stats_group_html_gad85f5ffb4272713f6cc6d988e6d4e75f"><div class="ttname"><a href="group__stats_group.html#gad85f5ffb4272713f6cc6d988e6d4e75f">natsStatistics_GetCounts</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsStatistics_GetCounts(const natsStatistics *stats, uint64_t *inMsgs, uint64_t *inBytes, uint64_t *outMsgs, uint64_t *outBytes, uint64_t *reconnects)</div><div class="ttdoc">Extracts the various statistics values. </div></div>
<div class="ttc" id="group__callbacks_group_html_gac34092f6c698374f86ad349302bdd55c"><div class="ttname"><a href="group__callbacks_group.html#gac34092f6c698374f86ad349302bdd55c">stanConnectionLostHandler</a></div><div class="ttdeci">void(* stanConnectionLostHandler)(stanConnection *sc, const char *errorTxt, void *closure)</div><div class="ttdoc">Callback used to notify the user of the permanent loss of the connection. </div><div class="ttdef"><b>Definition:</b> nats.h:413</div></div>
<div class="ttc" id="group__sub_group_html_ga9834bd02f67a25ac084d5ad71e146019"><div class="ttname"><a href="group__sub_group.html#ga9834bd02f67a25ac084d5ad71e146019">natsSubscription_DrainCompletionStatus</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsSubscription_DrainCompletionStatus(natsSubscription *sub)</div><div class="ttdoc">Returns the status of the drain after completion. </div></div>
<div class="ttc" id="group__callbacks_group_html_gad5d6a685731b3bf635995b7375af4d18"><div class="ttname"><a href="group__callbacks_group.html#gad5d6a685731b3bf635995b7375af4d18">stanPubAckHandler</a></div><div class="ttdeci">void(* stanPubAckHandler)(const char *guid, const char *error, void *closure)</div><div class="ttdoc">Callback used to notify of an asynchronous publish result. </div><div class="ttdef"><b>Definition:</b> nats.h:393</div></div>
<div class="ttc" id="group__opts_group_html_ga60117450fc1f7b6f81bab455aeed7515"><div class="ttname"><a href="group__opts_group.html#ga60117450fc1f7b6f81bab455aeed7515">natsOptions_SetUserCredentialsCallbacks</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetUserCredentialsCallbacks(natsOptions *opts, natsUserJWTHandler ujwtCB, void *ujwtClosure, natsSignatureHandler sigCB, void *sigClosure)</div><div class="ttdoc">Sets the callbacks to fetch user JWT and sign server&amp;#39;s nonce. </div></div>
<div class="ttc" id="group__msg_group_html_ga9e9590018284939f43f60964283f33ae"><div class="ttname"><a href="group__msg_group.html#ga9e9590018284939f43f60964283f33ae">natsMsg_Destroy</a></div><div class="ttdeci">NATS_EXTERN void natsMsg_Destroy(natsMsg *msg)</div><div class="ttdoc">Destroys the message object. </div></div>
<div class="ttc" id="group__msg_group_html_ga2b641ec3b1745604d7de1102e472254b"><div class="ttname"><a href="group__msg_group.html#ga2b641ec3b1745604d7de1102e472254b">natsMsgHeader_Add</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsMsgHeader_Add(natsMsg *msg, const char *key, const char *value)</div><div class="ttdoc">Add value to the header associated with key. </div></div>
<div class="ttc" id="group__opts_group_html_ga696f02e0493c00d3c1eafff45b62b68e"><div class="ttname"><a href="group__opts_group.html#ga696f02e0493c00d3c1eafff45b62b68e">natsOptions_SetNKeyFromSeed</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetNKeyFromSeed(natsOptions *opts, const char *pubKey, const char *seedFile)</div><div class="ttdoc">Sets the NKey public key and its seed file. </div></div>
<div class="ttc" id="group__conn_mgt_group_html_gaa3fd27e6e7d8131e679d4f10e201c435"><div class="ttname"><a href="group__conn_mgt_group.html#gaa3fd27e6e7d8131e679d4f10e201c435">natsConnection_GetRTT</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_GetRTT(natsConnection *nc, int64_t *rtt)</div><div class="ttdoc">Returns the round trip time between this client and the server. </div></div>
<div class="ttc" id="group__sub_group_html_ga68a7cea89e75c529a7dd3bb77303dda4"><div class="ttname"><a href="group__sub_group.html#ga68a7cea89e75c529a7dd3bb77303dda4">natsSubscription_SetPendingLimits</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsSubscription_SetPendingLimits(natsSubscription *sub, int msgLimit, int bytesLimit)</div><div class="ttdoc">Sets the limit for pending messages and bytes. </div></div>
<div class="ttc" id="group__opts_group_html_ga26f166af20de98bec67bc6cc916f769e"><div class="ttname"><a href="group__opts_group.html#ga26f166af20de98bec67bc6cc916f769e">natsOptions_SetPedantic</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetPedantic(natsOptions *opts, bool pedantic)</div><div class="ttdoc">Sets the pedantic mode. </div></div>
<div class="ttc" id="group__conn_mgt_group_html_gaf4ee7262e35e44c40ad5dfe9240db76b"><div class="ttname"><a href="group__conn_mgt_group.html#gaf4ee7262e35e44c40ad5dfe9240db76b">natsConnection_GetServers</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_GetServers(natsConnection *nc, char ***servers, int *count)</div><div class="ttdoc">Returns the list of server URLs known to this connection. </div></div>
<div class="ttc" id="group__conn_pub_group_html_ga052de4b75b3b69ccd8d20eb4861b801d"><div class="ttname"><a href="group__conn_pub_group.html#ga052de4b75b3b69ccd8d20eb4861b801d">natsConnection_RequestMsg</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_RequestMsg(natsMsg **replyMsg, natsConnection *nc, natsMsg *requestMsg, int64_t timeout)</div><div class="ttdoc">Sends a request based on the given requestMsg and waits for a reply. </div></div>
<div class="ttc" id="group__msg_group_html_gaf3e9ab8edfa09b1e40ddb969d9ba5f01"><div class="ttname"><a href="group__msg_group.html#gaf3e9ab8edfa09b1e40ddb969d9ba5f01">natsMsg_GetReply</a></div><div class="ttdeci">NATS_EXTERN const char * natsMsg_GetReply(const natsMsg *msg)</div><div class="ttdoc">Returns the reply set in this message. </div></div>
<div class="ttc" id="group__opts_group_html_gad58a5b9dabadeebda30e952ff7b39193"><div class="ttname"><a href="group__opts_group.html#gad58a5b9dabadeebda30e952ff7b39193">natsOptions_SetToken</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetToken(natsOptions *opts, const char *token)</div><div class="ttdoc">Sets the token to use when not specified in the URL. </div></div>
<div class="ttc" id="group__stan_msg_group_html_ga8e537d014b89d9d7da7906b2ee75d5c0"><div class="ttname"><a href="group__stan_msg_group.html#ga8e537d014b89d9d7da7906b2ee75d5c0">stanMsg_IsRedelivered</a></div><div class="ttdeci">NATS_EXTERN bool stanMsg_IsRedelivered(const stanMsg *msg)</div><div class="ttdoc">Returns the message&amp;#39;s redelivered flag. </div></div>
<div class="ttc" id="group__msg_group_html_gab3349f0b0ce721b340d5c0753c90ee18"><div class="ttname"><a href="group__msg_group.html#gab3349f0b0ce721b340d5c0753c90ee18">natsMsgHeader_Get</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsMsgHeader_Get(natsMsg *msg, const char *key, const char **value)</div><div class="ttdoc">Get the header entry associated with key. </div></div>
<div class="ttc" id="group__opts_group_html_ga5698f020e8eb3e7440eb073fe08ef62c"><div class="ttname"><a href="group__opts_group.html#ga5698f020e8eb3e7440eb073fe08ef62c">natsOptions_SetCiphers</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetCiphers(natsOptions *opts, const char *ciphers)</div><div class="ttdoc">Sets the list of available ciphers. </div></div>
<div class="ttc" id="group__stan_sub_group_html_ga7b039908ec45cfc2c16ec61ba8daca9d"><div class="ttname"><a href="group__stan_sub_group.html#ga7b039908ec45cfc2c16ec61ba8daca9d">stanSubscription_SetOnCompleteCB</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanSubscription_SetOnCompleteCB(stanSubscription *sub, natsOnCompleteCB cb, void *closure)</div><div class="ttdoc">Sets a completion callback. </div></div>
<div class="ttc" id="group__msg_group_html_ga25b69066ae50287e178aaf4f70f7d3de"><div class="ttname"><a href="group__msg_group.html#ga25b69066ae50287e178aaf4f70f7d3de">natsMsg_GetDataLength</a></div><div class="ttdeci">NATS_EXTERN int natsMsg_GetDataLength(const natsMsg *msg)</div><div class="ttdoc">Returns the message length. </div></div>
<div class="ttc" id="group__opts_group_html_gaa1f09416d443fa7a6af6b695da563eba"><div class="ttname"><a href="group__opts_group.html#gaa1f09416d443fa7a6af6b695da563eba">natsOptions_SetSecure</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetSecure(natsOptions *opts, bool secure)</div><div class="ttdoc">Sets the secure mode. </div></div>
<div class="ttc" id="status_8h_html"><div class="ttname"><a href="status_8h.html">status.h</a></div></div>
<div class="ttc" id="group__stan_sub_group_html_ga3f6ce924f6a1830a55e30e9910aad4ba"><div class="ttname"><a href="group__stan_sub_group.html#ga3f6ce924f6a1830a55e30e9910aad4ba">stanSubscription_Destroy</a></div><div class="ttdeci">NATS_EXTERN void stanSubscription_Destroy(stanSubscription *sub)</div><div class="ttdoc">Destroys the subscription. </div></div>
<div class="ttc" id="group__opts_group_html_ga93d8068cd6fff53b7f8e1c403db45eb9"><div class="ttname"><a href="group__opts_group.html#ga93d8068cd6fff53b7f8e1c403db45eb9">natsOptions_Destroy</a></div><div class="ttdeci">NATS_EXTERN void natsOptions_Destroy(natsOptions *opts)</div><div class="ttdoc">Destroys a natsOptions object. </div></div>
<div class="ttc" id="group__conn_mgt_group_html_gaa89c06e30e19ff361125bfc9114d89a8"><div class="ttname"><a href="group__conn_mgt_group.html#gaa89c06e30e19ff361125bfc9114d89a8">natsConnection_ProcessReadEvent</a></div><div class="ttdeci">NATS_EXTERN void natsConnection_ProcessReadEvent(natsConnection *nc)</div><div class="ttdoc">Process a read event when using external event loop. </div></div>
<div class="ttc" id="group__callbacks_group_html_ga245eab0a01a485e40fba267f84ec037f"><div class="ttname"><a href="group__callbacks_group.html#ga245eab0a01a485e40fba267f84ec037f">natsEvLoop_Attach</a></div><div class="ttdeci">natsStatus(* natsEvLoop_Attach)(void **userData, void *loop, natsConnection *nc, natsSock socket)</div><div class="ttdoc">Attach this connection to the external event loop. </div><div class="ttdef"><b>Definition:</b> nats.h:241</div></div>
<div class="ttc" id="group__opts_group_html_ga61d4a0cf2fbf7d13cc910e5a00c575be"><div class="ttname"><a href="group__opts_group.html#ga61d4a0cf2fbf7d13cc910e5a00c575be">natsOptions_Create</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_Create(natsOptions **newOpts)</div><div class="ttdoc">Creates a natsOptions object. </div></div>
<div class="ttc" id="group__msg_group_html_ga43aa4a8e4b93725b4876ee2677e19c7b"><div class="ttname"><a href="group__msg_group.html#ga43aa4a8e4b93725b4876ee2677e19c7b">natsMsg_IsNoResponders</a></div><div class="ttdeci">NATS_EXTERN bool natsMsg_IsNoResponders(natsMsg *msg)</div><div class="ttdoc">Indicates if this message is a &quot;no responders&quot; message from the server. </div></div>
<div class="ttc" id="group__opts_group_html_ga127ec7a8196b453947a7fa9a64096cbd"><div class="ttname"><a href="group__opts_group.html#ga127ec7a8196b453947a7fa9a64096cbd">natsOptions_SetErrorHandler</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetErrorHandler(natsOptions *opts, natsErrHandler errHandler, void *closure)</div><div class="ttdoc">Sets the error handler for asynchronous events. </div></div>
<div class="ttc" id="group__stan_conn_opts_group_html_gae3fc9a4daa7f85367811a313857337b4"><div class="ttname"><a href="group__stan_conn_opts_group.html#gae3fc9a4daa7f85367811a313857337b4">stanConnOptions_SetNATSOptions</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanConnOptions_SetNATSOptions(stanConnOptions *opts, natsOptions *nOpts)</div><div class="ttdoc">Sets the NATS Options to use to create the connection. </div></div>
<div class="ttc" id="group__sub_group_html_ga50a95dd96e9b714201679a015d62832f"><div class="ttname"><a href="group__sub_group.html#ga50a95dd96e9b714201679a015d62832f">natsSubscription_Destroy</a></div><div class="ttdeci">NATS_EXTERN void natsSubscription_Destroy(natsSubscription *sub)</div><div class="ttdoc">Destroys the subscription. </div></div>
<div class="ttc" id="group__library_group_html_gaca24172e1b97ca01cee29ca437f5702e"><div class="ttname"><a href="group__library_group.html#gaca24172e1b97ca01cee29ca437f5702e">nats_GetLastErrorStack</a></div><div class="ttdeci">NATS_EXTERN natsStatus nats_GetLastErrorStack(char *buffer, size_t bufLen)</div><div class="ttdoc">Returns the calling thread&amp;#39;s last known error stack. </div></div>
<div class="ttc" id="group__inbox_group_html_gaa1ec779a0b7ead54b78da05533848b6d"><div class="ttname"><a href="group__inbox_group.html#gaa1ec779a0b7ead54b78da05533848b6d">natsInbox_Create</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsInbox_Create(natsInbox **newInbox)</div><div class="ttdoc">Creates an inbox. </div></div>
<div class="ttc" id="group__sub_group_html_ga24f1636869e26661ce62c9c9f4d80823"><div class="ttname"><a href="group__sub_group.html#ga24f1636869e26661ce62c9c9f4d80823">natsSubscription_GetDropped</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsSubscription_GetDropped(natsSubscription *sub, int64_t *msgs)</div><div class="ttdoc">Returns the number of dropped messages. </div></div>
<div class="ttc" id="group__sub_group_html_gafe31911d8372db401d33856465421710"><div class="ttname"><a href="group__sub_group.html#gafe31911d8372db401d33856465421710">natsSubscription_ClearMaxPending</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsSubscription_ClearMaxPending(natsSubscription *sub)</div><div class="ttdoc">Clears the statistics regarding the maximum pending values. </div></div>
<div class="ttc" id="group__types_group_html_ga9e826493769d23086cfccefe95cdf64c"><div class="ttname"><a href="group__types_group.html#ga9e826493769d23086cfccefe95cdf64c">stanConnection</a></div><div class="ttdeci">struct __stanConnection stanConnection</div><div class="ttdoc">A connection to a NATS Streaming Server. </div><div class="ttdef"><b>Definition:</b> nats.h:144</div></div>
<div class="ttc" id="group__sub_group_html_gaea632f845d473e7461b134c0e7bf4077"><div class="ttname"><a href="group__sub_group.html#gaea632f845d473e7461b134c0e7bf4077">natsSubscription_SetOnCompleteCB</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsSubscription_SetOnCompleteCB(natsSubscription *sub, natsOnCompleteCB cb, void *closure)</div><div class="ttdoc">Sets a completion callback. </div></div>
<div class="ttc" id="group__opts_group_html_ga7ca713c7532eff4d41a492e95b8822cf"><div class="ttname"><a href="group__opts_group.html#ga7ca713c7532eff4d41a492e95b8822cf">natsOptions_IPResolutionOrder</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_IPResolutionOrder(natsOptions *opts, int order)</div><div class="ttdoc">Dictates the order in which host name are resolved during connect. </div></div>
<div class="ttc" id="group__sub_group_html_ga09f285de2746a6e27fc66efd60bd3116"><div class="ttname"><a href="group__sub_group.html#ga09f285de2746a6e27fc66efd60bd3116">natsSubscription_AutoUnsubscribe</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsSubscription_AutoUnsubscribe(natsSubscription *sub, int max)</div><div class="ttdoc">Auto-Unsubscribes. </div></div>
<div class="ttc" id="group__conn_mgt_group_html_gafda2f702276fb0ac301efac10df09495"><div class="ttname"><a href="group__conn_mgt_group.html#gafda2f702276fb0ac301efac10df09495">natsConnection_Destroy</a></div><div class="ttdeci">NATS_EXTERN void natsConnection_Destroy(natsConnection *nc)</div><div class="ttdoc">Destroys the connection object. </div></div>
<div class="ttc" id="group__library_group_html_gaf781f246e2e0ab24623ca667c48dc3ba"><div class="ttname"><a href="group__library_group.html#gaf781f246e2e0ab24623ca667c48dc3ba">nats_Sign</a></div><div class="ttdeci">NATS_EXTERN natsStatus nats_Sign(const char *encodedSeed, const char *input, unsigned char **signature, int *signatureLength)</div><div class="ttdoc">Signs a given text using the provided private key. </div></div>
<div class="ttc" id="group__library_group_html_gafc09930d38dcf3dcee144e8d3ffc225d"><div class="ttname"><a href="group__library_group.html#gafc09930d38dcf3dcee144e8d3ffc225d">nats_GetVersion</a></div><div class="ttdeci">NATS_EXTERN const char * nats_GetVersion(void)</div><div class="ttdoc">Returns the Library&amp;#39;s version. </div></div>
<div class="ttc" id="group__sub_group_html_ga6538a5d78dfb0f16514b94c8e74c11af"><div class="ttname"><a href="group__sub_group.html#ga6538a5d78dfb0f16514b94c8e74c11af">natsSubscription_NextMsg</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsSubscription_NextMsg(natsMsg **nextMsg, natsSubscription *sub, int64_t timeout)</div><div class="ttdoc">Returns the next available message. </div></div>
<div class="ttc" id="group__library_group_html_gaa3c10ba3ae001595007ad0dc5dccc15e"><div class="ttname"><a href="group__library_group.html#gaa3c10ba3ae001595007ad0dc5dccc15e">nats_Now</a></div><div class="ttdeci">NATS_EXTERN int64_t nats_Now(void)</div><div class="ttdoc">Gives the current time in milliseconds. </div></div>
<div class="ttc" id="group__callbacks_group_html_gaf7456e37fa14f1834d9048d3789e9409"><div class="ttname"><a href="group__callbacks_group.html#gaf7456e37fa14f1834d9048d3789e9409">stanMsgHandler</a></div><div class="ttdeci">void(* stanMsgHandler)(stanConnection *sc, stanSubscription *sub, const char *channel, stanMsg *msg, void *closure)</div><div class="ttdoc">Callback used to deliver messages to the application. </div><div class="ttdef"><b>Definition:</b> nats.h:404</div></div>
<div class="ttc" id="group__stan_sub_group_html_ga3a1cca9fa3ea54fcf7a43fd1335a26d3"><div class="ttname"><a href="group__stan_sub_group.html#ga3a1cca9fa3ea54fcf7a43fd1335a26d3">stanSubscription_AckMsg</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanSubscription_AckMsg(stanSubscription *sub, stanMsg *msg)</div><div class="ttdoc">Acknowledge a message. </div></div>
<div class="ttc" id="group__stan_conn_mgt_group_html_ga4952a7f65a53fdb5ca1c26b1a1656f1d"><div class="ttname"><a href="group__stan_conn_mgt_group.html#ga4952a7f65a53fdb5ca1c26b1a1656f1d">stanConnection_Close</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanConnection_Close(stanConnection *sc)</div><div class="ttdoc">Closes the connection. </div></div>
<div class="ttc" id="group__library_group_html_gab21e94ce7a7d226611ea2c05914cf19d"><div class="ttname"><a href="group__library_group.html#gab21e94ce7a7d226611ea2c05914cf19d">nats_SetMessageDeliveryPoolSize</a></div><div class="ttdeci">NATS_EXTERN natsStatus nats_SetMessageDeliveryPoolSize(int max)</div><div class="ttdoc">Sets the maximum size of the global message delivery thread pool. </div></div>
<div class="ttc" id="group__opts_group_html_ga3593165aa113d6736e0226ddc56b3e9d"><div class="ttname"><a href="group__opts_group.html#ga3593165aa113d6736e0226ddc56b3e9d">natsOptions_SetCustomReconnectDelay</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetCustomReconnectDelay(natsOptions *opts, natsCustomReconnectDelayHandler cb, void *closure)</div><div class="ttdoc">Sets the handler to invoke when the library needs to wait before the next reconnect attempts...</div></div>
<div class="ttc" id="group__opts_group_html_ga192465163abb87ad48a843b45cdf9984"><div class="ttname"><a href="group__opts_group.html#ga192465163abb87ad48a843b45cdf9984">natsOptions_DisableNoResponders</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_DisableNoResponders(natsOptions *opts, bool disabled)</div><div class="ttdoc">Enable/Disable the &quot;no responders&quot; feature. </div></div>
<div class="ttc" id="group__opts_group_html_gab09491bad908dedcb323c780280733ff"><div class="ttname"><a href="group__opts_group.html#gab09491bad908dedcb323c780280733ff">natsOptions_SetEventLoop</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetEventLoop(natsOptions *opts, void *loop, natsEvLoop_Attach attachCb, natsEvLoop_ReadAddRemove readCb, natsEvLoop_WriteAddRemove writeCb, natsEvLoop_Detach detachCb)</div><div class="ttdoc">Sets the external event loop and associated callbacks. </div></div>
<div class="ttc" id="group__opts_group_html_ga36943e2ba53d05407cdabc4e7e96484b"><div class="ttname"><a href="group__opts_group.html#ga36943e2ba53d05407cdabc4e7e96484b">natsOptions_LoadCertificatesChain</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_LoadCertificatesChain(natsOptions *opts, const char *certsFileName, const char *keyFileName)</div><div class="ttdoc">Loads the certificate chain from a file, using the given key. </div></div>
<div class="ttc" id="group__stan_sub_opts_group_html_gab09b81358e93199a4631eb06f1ec179f"><div class="ttname"><a href="group__stan_sub_opts_group.html#gab09b81358e93199a4631eb06f1ec179f">stanSubOptions_DeliverAllAvailable</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanSubOptions_DeliverAllAvailable(stanSubOptions *opts)</div><div class="ttdoc">The subscription should start with the first message in the channel. </div></div>
<div class="ttc" id="group__conn_mgt_group_html_gab6cfa9cb6857ae10f096a94f5e244e63"><div class="ttname"><a href="group__conn_mgt_group.html#gab6cfa9cb6857ae10f096a94f5e244e63">natsConnection_GetLastError</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_GetLastError(natsConnection *nc, const char **lastError)</div><div class="ttdoc">Gets the last connection error. </div></div>
<div class="ttc" id="group__opts_group_html_ga44410242e73134e5bb51ef27904a9253"><div class="ttname"><a href="group__opts_group.html#ga44410242e73134e5bb51ef27904a9253">natsOptions_SetClosedCB</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetClosedCB(natsOptions *opts, natsConnectionHandler closedCb, void *closure)</div><div class="ttdoc">Sets the callback to be invoked when a connection to a server is permanently lost. </div></div>
<div class="ttc" id="group__msg_group_html_gac78ca02dc93d05cae837ced6386408f1"><div class="ttname"><a href="group__msg_group.html#gac78ca02dc93d05cae837ced6386408f1">natsMsgHeader_Delete</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsMsgHeader_Delete(natsMsg *msg, const char *key)</div><div class="ttdoc">Delete the value(s) associated with key. </div></div>
<div class="ttc" id="group__opts_group_html_gae68fb615835364c0809555e8dc93f57e"><div class="ttname"><a href="group__opts_group.html#gae68fb615835364c0809555e8dc93f57e">natsOptions_SetPingInterval</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetPingInterval(natsOptions *opts, int64_t interval)</div><div class="ttdoc">Sets the ping interval. </div></div>
<div class="ttc" id="group__stan_conn_pub_group_html_ga24f3f7f709b15fe53e1edaeead08fc7d"><div class="ttname"><a href="group__stan_conn_pub_group.html#ga24f3f7f709b15fe53e1edaeead08fc7d">stanConnection_Publish</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanConnection_Publish(stanConnection *sc, const char *channel, const void *data, int dataLen)</div><div class="ttdoc">Publishes data on a channel. </div></div>
<div class="ttc" id="group__stan_sub_group_html_gacfa3a7b4fa333c84acfa7521fbbb5bcc"><div class="ttname"><a href="group__stan_sub_group.html#gacfa3a7b4fa333c84acfa7521fbbb5bcc">stanSubscription_Close</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanSubscription_Close(stanSubscription *sub)</div><div class="ttdoc">Closes the subscription. </div></div>
<div class="ttc" id="group__sub_group_html_ga5e6454bbc7a90b9694112d45bd8de903"><div class="ttname"><a href="group__sub_group.html#ga5e6454bbc7a90b9694112d45bd8de903">natsSubscription_IsValid</a></div><div class="ttdeci">NATS_EXTERN bool natsSubscription_IsValid(natsSubscription *sub)</div><div class="ttdoc">Checks the validity of the subscription. </div></div>
<div class="ttc" id="group__types_group_html_gadcab54026c4ed78f344ce03ce31bb61a"><div class="ttname"><a href="group__types_group.html#gadcab54026c4ed78f344ce03ce31bb61a">natsMsg</a></div><div class="ttdeci">struct __natsMsg natsMsg</div><div class="ttdoc">A structure holding a subject, optional reply and payload. </div><div class="ttdef"><b>Definition:</b> nats.h:122</div></div>
<div class="ttc" id="group__sub_group_html_ga26c9736289d326fb7d6df7e2a0df72ab"><div class="ttname"><a href="group__sub_group.html#ga26c9736289d326fb7d6df7e2a0df72ab">natsSubscription_Drain</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsSubscription_Drain(natsSubscription *sub)</div><div class="ttdoc">Drains the subscription with a default timeout. </div></div>
<div class="ttc" id="group__callbacks_group_html_gad1a5ac566893e13dc8c81ac0e9c87afe"><div class="ttname"><a href="group__callbacks_group.html#gad1a5ac566893e13dc8c81ac0e9c87afe">natsMsgHandler</a></div><div class="ttdeci">void(* natsMsgHandler)(natsConnection *nc, natsSubscription *sub, natsMsg *msg, void *closure)</div><div class="ttdoc">Callback used to deliver messages to the application. </div><div class="ttdef"><b>Definition:</b> nats.h:199</div></div>
<div class="ttc" id="group__stan_conn_mgt_group_html_gaea095eec18fdf04e06de16711f8b1a04"><div class="ttname"><a href="group__stan_conn_mgt_group.html#gaea095eec18fdf04e06de16711f8b1a04">stanConnection_Destroy</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanConnection_Destroy(stanConnection *sc)</div><div class="ttdoc">Destroys the connection object. </div></div>
<div class="ttc" id="group__opts_group_html_ga8f3df57ed8ae418d3ae6678ae5e2a5d2"><div class="ttname"><a href="group__opts_group.html#ga8f3df57ed8ae418d3ae6678ae5e2a5d2">natsOptions_SetReconnectJitter</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetReconnectJitter(natsOptions *opts, int64_t jitter, int64_t jitterTLS)</div><div class="ttdoc">Set the upper bound of a random delay added to reconnect wait. </div></div>
<div class="ttc" id="nats_8h_html_a3bc1b3fe7f64083e60c7c3b93f205bad"><div class="ttname"><a href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a></div><div class="ttdeci">#define NATS_EXTERN</div><div class="ttdoc">Needed for shared library. </div><div class="ttdef"><b>Definition:</b> nats.h:49</div></div>
<div class="ttc" id="group__callbacks_group_html_ga7d93a74068ac6e5f4406d70b7c1f0094"><div class="ttname"><a href="group__callbacks_group.html#ga7d93a74068ac6e5f4406d70b7c1f0094">natsTokenHandler</a></div><div class="ttdeci">const char *(* natsTokenHandler)(void *closure)</div><div class="ttdoc">Callback used to build a token on connections and reconnections. </div><div class="ttdef"><b>Definition:</b> nats.h:350</div></div>
<div class="ttc" id="group__conn_pub_group_html_gac0b9f7759ecc39b8d77807b94254f9b4"><div class="ttname"><a href="group__conn_pub_group.html#gac0b9f7759ecc39b8d77807b94254f9b4">natsConnection_Publish</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_Publish(natsConnection *nc, const char *subj, const void *data, int dataLen)</div><div class="ttdoc">Publishes data on a subject. </div></div>
<div class="ttc" id="group__conn_mgt_group_html_ga85915ef0c8b87993be1b076099d6a7c1"><div class="ttname"><a href="group__conn_mgt_group.html#ga85915ef0c8b87993be1b076099d6a7c1">natsConnection_FlushTimeout</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_FlushTimeout(natsConnection *nc, int64_t timeout)</div><div class="ttdoc">Flushes the connection with a given timeout. </div></div>
<div class="ttc" id="group__stan_sub_opts_group_html_gaa018bceba99ef3726157e87c6918ab14"><div class="ttname"><a href="group__stan_sub_opts_group.html#gaa018bceba99ef3726157e87c6918ab14">stanSubOptions_SetDurableName</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanSubOptions_SetDurableName(stanSubOptions *opts, const char *durableName)</div><div class="ttdoc">Sets the Durable Name for this subscription. </div></div>
<div class="ttc" id="group__opts_group_html_ga20946800d024b7089e73d63454d1c19f"><div class="ttname"><a href="group__opts_group.html#ga20946800d024b7089e73d63454d1c19f">natsOptions_SetRetryOnFailedConnect</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetRetryOnFailedConnect(natsOptions *opts, bool retry, natsConnectionHandler connectedCb, void *closure)</div><div class="ttdoc">Indicates if initial connect failure should be retried or not. </div></div>
<div class="ttc" id="group__opts_group_html_ga2cd6563694a439b3949a31fd81103099"><div class="ttname"><a href="group__opts_group.html#ga2cd6563694a439b3949a31fd81103099">natsOptions_LoadCATrustedCertificates</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_LoadCATrustedCertificates(natsOptions *opts, const char *fileName)</div><div class="ttdoc">Loads the trusted CA certificates from a file. </div></div>
<div class="ttc" id="group__opts_group_html_ga26a48c8529fffa5f5d1a61c030979980"><div class="ttname"><a href="group__opts_group.html#ga26a48c8529fffa5f5d1a61c030979980">natsOptions_SetReconnectedCB</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetReconnectedCB(natsOptions *opts, natsConnectionHandler reconnectedCb, void *closure)</div><div class="ttdoc">Sets the callback to be invoked when the connection has reconnected. </div></div>
<div class="ttc" id="group__types_group_html_gaf88dca0a18efb5c5e994d265a9f04aec"><div class="ttname"><a href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a></div><div class="ttdeci">struct __natsConnection natsConnection</div><div class="ttdoc">A connection to a NATS Server. </div><div class="ttdef"><b>Definition:</b> nats.h:102</div></div>
<div class="ttc" id="group__stan_conn_mgt_group_html_ga2e56a93825e1214a5ab688860e2a8ce6"><div class="ttname"><a href="group__stan_conn_mgt_group.html#ga2e56a93825e1214a5ab688860e2a8ce6">stanConnection_ReleaseNATSConnection</a></div><div class="ttdeci">NATS_EXTERN void stanConnection_ReleaseNATSConnection(stanConnection *sc)</div><div class="ttdoc">Releases the NATS Connection. </div></div>
<div class="ttc" id="group__conn_mgt_group_html_ga59bdc4ad9fea2053f5d3841f6b83f88b"><div class="ttname"><a href="group__conn_mgt_group.html#ga59bdc4ad9fea2053f5d3841f6b83f88b">natsConnection_Drain</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_Drain(natsConnection *nc)</div><div class="ttdoc">Drains the connection with default timeout. </div></div>
<div class="ttc" id="group__opts_group_html_gaabf8763b931dcf389c83fd95d760a413"><div class="ttname"><a href="group__opts_group.html#gaabf8763b931dcf389c83fd95d760a413">natsOptions_SetNoRandomize</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetNoRandomize(natsOptions *opts, bool noRandomize)</div><div class="ttdoc">Indicate if the servers list should be randomized. </div></div>
<div class="ttc" id="group__conn_pub_group_html_gaf4b4a022f9c21fc269b87c000330c5a7"><div class="ttname"><a href="group__conn_pub_group.html#gaf4b4a022f9c21fc269b87c000330c5a7">natsConnection_Request</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_Request(natsMsg **replyMsg, natsConnection *nc, const char *subj, const void *data, int dataLen, int64_t timeout)</div><div class="ttdoc">Sends a request and waits for a reply. </div></div>
<div class="ttc" id="group__stan_msg_group_html_ga2fa524b11e9621cf46ca9b1a3ca66452"><div class="ttname"><a href="group__stan_msg_group.html#ga2fa524b11e9621cf46ca9b1a3ca66452">stanMsg_GetTimestamp</a></div><div class="ttdeci">NATS_EXTERN int64_t stanMsg_GetTimestamp(const stanMsg *msg)</div><div class="ttdoc">Returns the message&amp;#39;s timestamp. </div></div>
<div class="ttc" id="group__msg_group_html_gaf30b47d4217c9335919f05536e379af8"><div class="ttname"><a href="group__msg_group.html#gaf30b47d4217c9335919f05536e379af8">natsMsgHeader_Set</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsMsgHeader_Set(natsMsg *msg, const char *key, const char *value)</div><div class="ttdoc">Set the header entries associated with key to the single element value. </div></div>
<div class="ttc" id="group__conn_pub_group_html_gaafca9a8294e81a5a9979e762931e56c5"><div class="ttname"><a href="group__conn_pub_group.html#gaafca9a8294e81a5a9979e762931e56c5">natsConnection_PublishRequestString</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_PublishRequestString(natsConnection *nc, const char *subj, const char *reply, const char *str)</div><div class="ttdoc">Publishes a string on a subject expecting replies on the given reply. </div></div>
<div class="ttc" id="group__opts_group_html_gae98f0f9034e93941767ab1ae6eec2c0c"><div class="ttname"><a href="group__opts_group.html#gae98f0f9034e93941767ab1ae6eec2c0c">natsOptions_SetCertificatesChain</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetCertificatesChain(natsOptions *opts, const char *cert, const char *key)</div><div class="ttdoc">Sets the client certificate and key. </div></div>
<div class="ttc" id="group__stan_conn_opts_group_html_ga29eee1be7eff749aeac3bab60d1b0405"><div class="ttname"><a href="group__stan_conn_opts_group.html#ga29eee1be7eff749aeac3bab60d1b0405">stanConnOptions_SetMaxPubAcksInflight</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanConnOptions_SetMaxPubAcksInflight(stanConnOptions *opts, int maxPubAcksInflight, float percentage)</div><div class="ttdoc">Sets the maximum number of published messages without outstanding ACKs from the server. </div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.10-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="nats_8h.html">nats.h</a></li>
    <li class="footer">NATS.IO Supported By Synadia Communications Inc.
    <a href="http://www.nats.io">
    </a></li>
  </ul>
</div>
</body>
</html>
